Auto-Nav custom theme problem
Permalink
Hi all,
I am new to Concrete5 and currently working on our new bootstrap website, I have created a custom Concrete5 theme which can be seen here -
http://www.smartinfluence.co.uk/rsdatashred...
It was all going well until I wanted to add an Auto-Nav that resembled my bootstrap site. The main problem I am having is making the navigation align horizontally as opposed to vertically.
I followed the instructions on another post in the community and placed the following files ( view.css, view.php and view.js) under application/blocks/autonav/templates/datashredheadernav. I then edited the block and changed the custom template to match.
Unfortunately It is still not working for me. Also, Auto-Nav only shows when I am logged in? even though I have approved the block & page.
I have attached screenshots of how it looks at the moment, and how it looked before I tried using auto-nav. The 1st attachment is my desired end result.
Any help would be hugely appreciated,
Thanks
David
I am new to Concrete5 and currently working on our new bootstrap website, I have created a custom Concrete5 theme which can be seen here -
http://www.smartinfluence.co.uk/rsdatashred...
It was all going well until I wanted to add an Auto-Nav that resembled my bootstrap site. The main problem I am having is making the navigation align horizontally as opposed to vertically.
I followed the instructions on another post in the community and placed the following files ( view.css, view.php and view.js) under application/blocks/autonav/templates/datashredheadernav. I then edited the block and changed the custom template to match.
Unfortunately It is still not working for me. Also, Auto-Nav only shows when I am logged in? even though I have approved the block & page.
I have attached screenshots of how it looks at the moment, and how it looked before I tried using auto-nav. The 1st attachment is my desired end result.
Any help would be hugely appreciated,
Thanks
David
Hi,
Thank you for your response,
Attached are my theme files,
Kind Regards
David
Thank you for your response,
Attached are my theme files,
Kind Regards
David
Revisit your theme code and fix ALL the errors.
To view errors just view the site source code?
To view errors just view the site source code?
default.php and about.php needs ‘header_required’ inside head tag.
default.php and about.php need wrapper class after body tag. Remove redundant wrapper on line 37 in ‘page2.php’.
Stylesheet call iGotStyle.less needs removing.
Theme not customisable, change all css calls to ‘ThemePath’. Example:
There is probably more, but that should get you started.
<!DOCTYPE html> <html lang="en"> <head> <?php Loader::element('header_required') ?> ….
default.php and about.php need wrapper class after body tag. Remove redundant wrapper on line 37 in ‘page2.php’.
Stylesheet call iGotStyle.less needs removing.
Theme not customisable, change all css calls to ‘ThemePath’. Example:
<?php echo $html->css($view->getThemePath('css/datashred.min.css'))?>
There is probably more, but that should get you started.
Hi Steevb,
Thanks for your help with this, much appreciated :)
Thanks for your help with this, much appreciated :)
because we cannot see your autonav without being logged in it is impossible to say anything. What would be really useful is if you zipped and attached your template here so we can have a look at the code.