Foundation Grid Not Showing as option
Permalink
Hi, i've just installed some new instances for 5.8.2.1 and can't get the foundation grid to show, I just get free-form layout?
I have this in the page theme as I always have, has anything changed in how to implement this?
I have this in the page theme as I always have, has anything changed in how to implement this?
namespace Application\Theme\Name; use Concrete\Core\Page\Theme\Theme; class PageTheme extends Theme { protected $pThemeGridFrameworkHandle = 'foundation';
Thanks MrKD
Yes I did, and its still not showing.
Im actually wondering if it is an install error now as when Im logged out its not loading the registered assets such as font-awesome.
However its the same on 3 fresh installs so thinking there must be something server side. Any ideas?
Ta
Yes I did, and its still not showing.
Im actually wondering if it is an install error now as when Im logged out its not loading the registered assets such as font-awesome.
However its the same on 3 fresh installs so thinking there must be something server side. Any ideas?
Ta
@BHWW
Have you tried adding die() in registerAssets() to see if the function and class are being called?
Have you tried adding die() in registerAssets() to see if the function and class are being called?
Ok, so adding die() doesn't do anything, so i am assuming that it is not loading. However when logged in it still doesn't die and loads font-awesome?
public function registerAssets() { $this->requireAsset('css', 'font-awesome'); $this->requireAsset('javascript', 'jquery'); die(); }
Do you have one of these two things on the area you're adding the layout to?
$a->enableGridContainer(); OR $a->setAreaGridMaximumColumns(12);
Yep. Thanks for a thought.
@BHWW
The concrete5 interface automatically loads jQuery and Font Awesome assets when logged in.
If the die() isn't firing, I would double check your theme folder name and page_theme.php namespace.
The concrete5 interface automatically loads jQuery and Font Awesome assets when logged in.
If the die() isn't firing, I would double check your theme folder name and page_theme.php namespace.
Bingo!
Thank you! Theme folder name used - not _ doh.
B
Thank you! Theme folder name used - not _ doh.
B
Did you try removing the theme and reactivating it?