Problem with Bootstrap Grid when uploaded
Permalink
I've enabled on my localhost server the Bootstrap Grid and it works great but when I upload the site and database to my cloud Koding virtual machine for testing and development the Grid is nonfunctional and my content falls back on the Free Form Layout Grid.
Here is my page_theme.php
And here's a provisional link for my site in the koding server:http://javirivera.koding.io/caappr-3...
Thanks for any help I can get.
Here is my page_theme.php
<?php namespace Application\Theme\Colegio; use Concrete\Core\Page\Theme\Theme; print ("hello"); class PageTheme extends Theme { protected $pThemeGridFrameworkHandle = 'bootstrap3'; }
And here's a provisional link for my site in the koding server:http://javirivera.koding.io/caappr-3...
Thanks for any help I can get.
Thanks Michael, I did enable it on the areas before uploading to the server. The problem was much more simple. Folks on the IRC helped me out on it. I had the theme folder capitalized and since I am working on a Linux server the Capitalization was not letting my page_theme.php file resolve to the right address.
or
I think they can be combined, but both will enable the grids.
enableGridContainer() will ensure that a container/row div gets created for every block. That's good if you have a full-width page type that doesn't already have a div.container in the theme.
<? $a = new Area('Main'); $a->enableGridContainer(); $a->display($c); ?>
I think they can be combined, but both will enable the grids.
enableGridContainer() will ensure that a container/row div gets created for every block. That's good if you have a full-width page type that doesn't already have a div.container in the theme.
or
I think they can be combined, but both will enable the grids.
enableGridContainer() will ensure that a container/row div gets created for every block. That's good if you have a full-width page type that doesn't already have a div.container in the theme.
<? $a = new Area('Main'); $a->enabledGridContainer(); $a->display($c); ?>
I think they can be combined, but both will enable the grids.
enableGridContainer() will ensure that a container/row div gets created for every block. That's good if you have a full-width page type that doesn't already have a div.container in the theme.
You still need to enable the grid on the area itself
example
example
<? $a = new Area('Main'); $a->setAreaGridMaximumColumns(12); $a->display($c); ?>
example