jquery loading when logged in to admin but not when logged out
Permalink
I am building a site and have an issue where the jquery script is not being loaded into the head when I am logged out of admin. When I am logged into admin the file loads fine. The site is here:www.www.heliadventurestas.com.au/cmh/...
The following is my page_theme.php file.
Any suggestion as to why this is happening are welcome.
The following is my page_theme.php file.
<?php namespace Application\Theme\CradleMountainHelicopters; use Concrete\Core\Page\Theme\Theme; class PageTheme extends Theme { public function registerAssets() { $this->requireAsset('css', 'font-awesome'); $this->requireAsset('javascript', 'jquery'); } public function getThemeEditorClasses() { return array( array('title' => t('Uppercase'), 'menuClass' => '', 'spanClass' => 'uppercase'), ); }
Viewing 15 lines of 16 lines. View entire code block.
Any suggestion as to why this is happening are welcome.
Both jQuery and Font Awesome are not being loaded.
I am not positive about this, but you could try:
- activate the default Elemental theme
- remove the CradleMountainHelicopters theme
- install the CradleMountainHelicopters theme
- activate the CradleMountainHelicopters theme