Enabling bootstrap grid in global area's
Permalink
Hello,
I'm creating a simple website. For the footer I want to enable bootstrap3 grid.
In the full.php it looks like this:
<?php
$a = new Area('Footer');
$a->enableGridContainer();
$a->display($c);
?>
This is working fine. However, since it's a footer I want to change the area to a Global Area
<?php
$a = new GlobalArea('Footer');
$a->enableGridContainer();
$a->display($c);
?>
In edit mode, i can't see the 'Sitewide Footer' button, but I can still click on it. However the real problem here is when I click on it, only 'Edit Area Design' pops up, there is no 'Add layout'.
Is this a bug or a problem with my code?
Thanks in advance
I'm creating a simple website. For the footer I want to enable bootstrap3 grid.
In the full.php it looks like this:
<?php
$a = new Area('Footer');
$a->enableGridContainer();
$a->display($c);
?>
This is working fine. However, since it's a footer I want to change the area to a Global Area
<?php
$a = new GlobalArea('Footer');
$a->enableGridContainer();
$a->display($c);
?>
In edit mode, i can't see the 'Sitewide Footer' button, but I can still click on it. However the real problem here is when I click on it, only 'Edit Area Design' pops up, there is no 'Add layout'.
Is this a bug or a problem with my code?
Thanks in advance
I still haven't figured this out.
I have the same problem.
Want to enable Grid support for the header (Navigation) and for the footer, both GlobalArea.
ps.
$a->display($c);
isn't correct for a GlobalArea. It should be
$a->display();
Want to enable Grid support for the header (Navigation) and for the footer, both GlobalArea.
ps.
$a->display($c);
isn't correct for a GlobalArea. It should be
$a->display();
I have the same problem.
Want to enable Grid support for the header (Navigation) and for the footer, both GlobalArea.
ps.
$a->display($c);
isn't correct for a GlobalArea. It should be
$a->display();
Want to enable Grid support for the header (Navigation) and for the footer, both GlobalArea.
ps.
$a->display($c);
isn't correct for a GlobalArea. It should be
$a->display();