doc/book/en/intro/tutorial/maintemplate.rst
changeset 2545 f8246ed962f6
parent 2544 282261b26774
child 4437 21f2e01fdd6a
equal deleted inserted replaced
2544:282261b26774 2545:f8246ed962f6
    42 Let's say we do not want anymore the login menu to be in the header
    42 Let's say we do not want anymore the login menu to be in the header
    43 
    43 
    44 First, to remove the login menu, we just need to comment out the display of the
    44 First, to remove the login menu, we just need to comment out the display of the
    45 login graphic component such as follows:
    45 login graphic component such as follows:
    46 
    46 
    47 .. code-block :: python
    47 .. sourcecode:: python
    48 
    48 
    49   class MyBlogHTMLPageHeader(HTMLPageHeader):
    49   class MyBlogHTMLPageHeader(HTMLPageHeader):
    50 
    50 
    51       def main_header(self, view):
    51       def main_header(self, view):
    52           """build the top menu with authentification info and the rql box"""
    52           """build the top menu with authentification info and the rql box"""