In trunk, auth.navbar now takes a new 'separators' argument -- the default 
is

auth.navbar(..., separators=(' [ ', ' | ', ' ] '))

The new 'welcome' app will actually get rid of the brackets, with 
separators=('', 
' | ', '').

Also, auth.navbar() simply returns a web2py SPAN helper object, so you can 
manually edit it:

navbar = auth.navbar()
del navbar[0], navbar[-1]  # no more brackets

Finally, it's easy to create your own navbar. Assuming your auth action is 
the standard /default/user function:

SPAN(A('Login', _href=URL('default', 'user', args='login')), ' | ', 
A('Register', _href=URL('default', 'register', args='register')), 
_class='auth_navbar')

Anthony


On Tuesday, November 15, 2011 12:21:44 PM UTC-5, Michael Gheith wrote:
>
> Does anyone know how to get rid of the brackets and pipes in: 
> [ login | register | lost password? ] 
>
> Also, would it be easy to append my own menu with the above?  If so, 
> then what file does this reside in? 
>
>
> Thanks in advance, 
> Michael Gheith

Reply via email to