How can add login and register page to my main navigation?

Permalink
I want to setup login page and register page to my main nav and can't find docs for that on how to.

 
WillemAnchor replied on at Permalink Reply
WillemAnchor
You can add external links to them in sitemap
rzvconcrete replied on at Permalink Reply
Thanks!It works.
OKDnet replied on at Permalink Reply
OKDnet
In sitemap, click on home (or whatever page you want the menu item link to appear under) and from the pop-up dialog select "Add External Link", and just drop in the link and give it a title.

In the sitemap, if you select the option "Include System Pages in Sitemap" you will see those and other system pages (so you can grab the URL to them if you don't what it is).
rzvconcrete replied on at Permalink Reply
On the same level as home how can i?
brianh781 replied on at Permalink Best Answer Reply
I overrode the view.php file in the AutoNav block. This is from 5.6, but should be the same concept. Below is the last part of the file:

$u = new User();
   if($u->isLoggedIn()){
      echo "<li>";
      echo '<a href="'.BASE_URL.'/Quibble/login/logout">Log Out</a>';
      echo "</li>";
   }else{
      echo "<li>";
      echo '<a href="'.BASE_URL.'/Quibble/login">Log In</a>';
      echo "</li>";
   }
echo '</ul>'; //closes the top-level menu
rzvconcrete replied on at Permalink Reply
Can i use TWIG to simplify the code?
jessicadunbar replied on at Permalink Reply
jessicadunbar
Thank you so much for the quick answers OKDnet. This would be a great addition to our tutorial area http://documentation.concrete5.org/tutorials...
OKDnet replied on at Permalink Reply
OKDnet
Hi Jessica,

I will do that soon then. I didn't think of doing that perhaps because it's such a quick and simple thing, but obviously it's something that would be helpful to some (it's simple once you know it, but if you don't...).

Hey, congratulations on the new Technology Evangelist position! I'm confident the team made a great selection in you!
rzvconcrete replied on at Permalink Reply
Hy Jessica! Tell me please how can i put the register page on the top level menu?
fivepints replied on at Permalink Reply 1 Attachment
fivepints
hello,

i found a solution in an addon, ive enclosed a snapshot of it for you to view for yourself.
But as it sits in the header it visible on all pages.
Ive checked it out in most browser now and apart from i.e its a great addition.

this is c5.7+

Pat
rzvconcrete replied on at Permalink Reply
It looks ok, but what is the name of the add-on? It doesn't have register page on it.