Include Login/Logout Link in Autonav

Permalink 1 user found helpful
There's a nice dynamic login/logout link in the footer of Cloneamental. Is there a way to include one of these in an autonav? In 5.6 I added a content block instead of an autonav at the top of the page and just placed links to pages plus this link in it, but of course I lost the responsive menu for mobile devices.

 
ramonleenders replied on at Permalink Reply
ramonleenders
You can hardcode that into a custom template of the autonav if you'd like. Not sure if you can copy paste that from the cloneamental theme, not on my computer right now.

If you want a non-hardcoded way, there are some navigation Add-Ons which may serve your needs.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@oakhill

ramonleenders, is correct. The Cloneamental code works in an Auto-Nav custom template.

This is the code for the link.
echo Core::make('helper/navigation')->getLogInOutLink();

Where do you want the link to show up within the Auto-Nav?
Prachir replied on at Permalink Reply
Sir,
I also wanted to include the login logout link, but since I am new to concrete 5 as well as coding, I am unable to find where to insert the link in the auto-nav php files.

I have fruitful theme installed.
Link to website is traceink.com
MrKDilkington replied on at Permalink Reply 1 Attachment
MrKDilkington
@Prachir

I have attached a zip file to this reply. In the zip file is an Auto-Nav block custom template with the login/logout link.

- unzip login.zip into the Fruitful Auto-Nav templates folder
packages\fruitful\blocks\autonav\templates\login\view.php
- apply the Login custom template
http://documentation.concrete5.org/editors/in-page-editing/block-ar...
Prachir replied on at Permalink Reply
Thank u very much sir..
Prachir replied on at Permalink Reply
Sir can you guide me how to insert my logo into nav bar as creating another global block for logo is not solving my purpose

concrete 5.7.5.3
website- http://www.traceink.com

Thank you sir.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@Prachir

Please create a new Discussion for this new topic.
oakhill replied on at Permalink Reply
Thanks. That worked perfectly.