Hi Anthony, So you are quite familiar with the web2py internal, this time the navbar. Are you the programmer of that function? Would you comment on this issue?
http://code.google.com/p/web2py/issues/detail?id=517 Regards, Ray On Nov 16, 3:47 am, Anthony <abasta...@gmail.com> wrote: > 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