No, I just wanted to add to the end of the main sidebar menu. To do this I had to create a new object link, rather than adding the xml to an article... Am I approaching this from the wrong angle?
I didn't want them there for any particular reason, I just thought it'd look quite good ;)
If you want two additional entries in your main menu, open the template where the menu is built (usually mainlayout.tpl).
You'll find the loop code for menu creation inside a {section} loop.
If so you can insert two additional cycle (exploded after the {/section} tag) with the same HTML you find inside the loop (same styles, classes, html tags and attributes), then you have to substitute dynamic <a href> tag with the ones in previous reply:
<a href={'user/login'|ezurl}>Login</a>
<a href={'user/register'|ezurl}>Register</a> Is this enough clear?
Perhaps you can do this in a more plain manner without modifying the template using the content administration and introducing a login node directly under the root folder (or simply introducing a new location for the login page) but I don't know the exact procedure to make this.รน
Hooray! Yes this worked. Thanks for recommending this, the other good thing is that no matter how many folders I add to content the login and register links will stay as at the bottom ;)
Thanks Paolo
~James~
You must be logged in to post messages in this topic!