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

2 Attachments

 
mnakalay replied on at Permalink Reply
mnakalay
Hello,
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.
freddo1990 replied on at Permalink Reply 1 Attachment
Hi,

Thank you for your response,

Attached are my theme files,

Kind Regards

David
Steevb replied on at Permalink Reply
Steevb
Revisit your theme code and fix ALL the errors.

To view errors just view the site source code?
Steevb replied on at Permalink Reply
Steevb
default.php and about.php needs ‘header_required’ inside head tag.
<!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.
freddo1990 replied on at Permalink Reply
Hi Steevb,

Thanks for your help with this, much appreciated :)