title: How is it possible to use 'auth.navbar' for custom navigations?
body: <p>I was searching for ways to customize my navigation like NOT puting User-related Links into a dropdown.</p>
  
  <p>How is it possible to use <code>auth.navbar</code> to create custom navigations?</p>
  
  <p>I found this in the <a href="http://web2py.com/books/default/chapter/29/05/the-views?search=auth.navbar" rel="nofollow">documents</a>:
  <em>The {{=auth.navbar(...)}} displays a welcome to the current user and links to the auth functions like login, logout, register, change password, etc. depending on context. It is a helper factory and its output can be manipulated as any other helper.</em> </p>
  
  <p><strong>EDIT:</strong>
  I simply want to change the way the Auth-Menu is rendered. Right now it is rendered as a dropdown menu. I figured out that <code>auth.navbar(mode="dropdown")</code> does this. Removing <code>mode="dropdown"</code> alters the ouput to a simple SPAN.</p>
  
  <p>Or the other way round - where could i change the method providing the output?</p>
  
  <p>EDIT 2:
  For the moment I did this - but i think it is not the most elegant way:</p>
  
  <pre><code>{{for i in range(0, len(auth.navbar().elements()[0])):}}
      {{if i in [2, 4, 6, 8]:}} # Get rid of "[,],|"
          {{next}}
      {{else:}}
      &lt;li&gt;{{=auth.navbar().elements()[0][i]}}&lt;/li&gt;
      {{pass}}
  {{pass}}
  </code></pre>