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?

namespace Application\Theme\Name;
use Concrete\Core\Page\Theme\Theme;
class PageTheme extends Theme {
  protected $pThemeGridFrameworkHandle = 'foundation';

BHWW
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi BHWW,

Did you try removing the theme and reactivating it?
BHWW replied on at Permalink Reply
BHWW
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
MrKDilkington replied on at Permalink Reply
MrKDilkington
@BHWW

Have you tried adding die() in registerAssets() to see if the function and class are being called?
BHWW replied on at Permalink Reply
BHWW
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();
  }
hutman replied on at Permalink Reply
hutman
Do you have one of these two things on the area you're adding the layout to?

$a->enableGridContainer();
OR 
$a->setAreaGridMaximumColumns(12);
BHWW replied on at Permalink Reply
BHWW
Yep. Thanks for a thought.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@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.
BHWW replied on at Permalink Reply
BHWW
Bingo!

Thank you! Theme folder name used - not _ doh.

B