c5 toolbar
Permalink
Hi,
I have attempted to convert a html site i have created into a concrete theme, so far i have changed all the relevant paths for images etc to what they need to be (<link href="<?=$this->getThemePath()?>/css/custom.css" rel="stylesheet">). The site now is looking as i would expect but but when i log in as admin i am not seeing the toolbar, i have added the <?php Loader::element('header_required'); ?> to the head section, and i have added the <?php Loader::element(‘footer_required’); ?> to the bottom of the page right before the closing body tag.
Any ideas?
Thanks
I have attempted to convert a html site i have created into a concrete theme, so far i have changed all the relevant paths for images etc to what they need to be (<link href="<?=$this->getThemePath()?>/css/custom.css" rel="stylesheet">). The site now is looking as i would expect but but when i log in as admin i am not seeing the toolbar, i have added the <?php Loader::element('header_required'); ?> to the head section, and i have added the <?php Loader::element(‘footer_required’); ?> to the bottom of the page right before the closing body tag.
Any ideas?
Thanks
It would help if you supplied the code you are using, but my first guess is that you are including jQuery in your theme. You don't need to include it since c5 does that automatically (and by doing it twice you will get unexpected results).
Ok, thanks for the quick reply.
I have got with-in the themes directory, my root folder (high-five-html).
In that root folder i have four folders (css, elements, img and js), also i have four files (default.php, description.txt, thumbnail.png and view.php).
In the elements folder i have footer.php and header.php i have left the content area in default.php. I have noticed i am getting these warnings
Warning: include(/Users/paulcurran/sites/high-five-concrete/concrete/themes/high-five-html/elements/header.php) [function.include]: failed to open stream: No such file or directory in /Users/paulcurran/sites/high-five-concrete/concrete/core/libraries/view.php on line 418
Warning: include() [function.include]: Failed opening '/Users/paulcurran/sites/high-five-concrete/concrete/themes/high-five-html/elements/header.php' for inclusion (include_path='/Users/paulcurran/sites/high-five-concrete/libraries/3rdparty:/Users/paulcurran/sites/high-five-concrete/concrete/libraries/3rdparty:.:/Applications/MAMP/bin/php/php5.2.17/lib/php') in /Users/paulcurran/sites/high-five-concrete/concrete/core/libraries/view.php on line 418
Thanks
I have got with-in the themes directory, my root folder (high-five-html).
In that root folder i have four folders (css, elements, img and js), also i have four files (default.php, description.txt, thumbnail.png and view.php).
In the elements folder i have footer.php and header.php i have left the content area in default.php. I have noticed i am getting these warnings
Warning: include(/Users/paulcurran/sites/high-five-concrete/concrete/themes/high-five-html/elements/header.php) [function.include]: failed to open stream: No such file or directory in /Users/paulcurran/sites/high-five-concrete/concrete/core/libraries/view.php on line 418
Warning: include() [function.include]: Failed opening '/Users/paulcurran/sites/high-five-concrete/concrete/themes/high-five-html/elements/header.php' for inclusion (include_path='/Users/paulcurran/sites/high-five-concrete/libraries/3rdparty:/Users/paulcurran/sites/high-five-concrete/concrete/libraries/3rdparty:.:/Applications/MAMP/bin/php/php5.2.17/lib/php') in /Users/paulcurran/sites/high-five-concrete/concrete/core/libraries/view.php on line 418
Thanks
How are you including your header.php?
Try the above if you don't already.
Are you following this how-to? http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
<?php $this->inc('elements/header.php'); ?>
Try the above if you don't already.
Are you following this how-to? http://www.concrete5.org/documentation/how-tos/designers/making-a-t...