add login and register pages to autonav

Permalink 2 users found helpful
I must be missing something really basic here, but I can't make the login and register pages to show in the autonav (these pages are single pages and they show when you click on "show system pages" in the sitemap).
Any ideas on how to do this?

matogertel
 
curlyloxie replied on at Permalink Reply
I'm having the same problem...have you figured out the solution?

please email me if you have!
thanks
marcy@tricoast.com
Mnkras replied on at Permalink Reply
Mnkras
i would like this as well, i heven'y tried alias yet
jelthure replied on at Permalink Reply
jelthure
you could create a custom template for your autonav and just hard code the links in at the end of the list, before th ecloseing ul tag.

something like this:
<li><a href="<?php echo View::url('/login');?>" title="Login to the site">Login</a></li>
<li><a href="<?php echo View::url('/register');?>" title="Register">Register</a></li>


hope this helps
zoinks replied on at Permalink Reply
That's a good idea, but won't work in my situation where I need to have a login as part of a dropdown.

What I am going to do is make a parent page called "members" and a child page called "Login" so that the login appears in the members dropdown. Then, the child will merely have a javascript redirect to the login page.

Crappy solution, but the easiest I can think of.
leinteractive replied on at Permalink Reply
leinteractive
Really easy way:

In your dashboard, go to the SiteMap. Click on on the parent item and choose Add External Link and then just link it to the single page you want for your login and register pages.

obviously, if you ever move these pages, you'll need to change your nav. But this is super easy and avoids any clunky JavaScript redirects.
zoinks replied on at Permalink Reply
you are a true friend! Thank you! :)
leinteractive replied on at Permalink Reply
leinteractive
You bet. You should mark this thread as helpful so other people with the same problem can find a solution here.
zoinks replied on at Permalink Reply
done.