def default_layout(context): config = Layout() config.mainmenu = True config.mainmenu_fluid = False config.livesearch = True config.personaltools = True config.columns_fluid = False config.pathbar = True config.sidebar_left = ['navtree'] config.sidebar_left_grid_width = 3 config.content_grid_width = 9 return config
def default_layout(context): layout = Layout() layout.mainmenu = True layout.mainmenu_fluid = False layout.livesearch = True layout.personaltools = True layout.columns_fluid = False layout.pathbar = True layout.sidebar_left = ['navtree'] layout.sidebar_left_grid_width = 3 layout.content_grid_width = 9 return layout
def layout(self): layout = Layout() layout.mainmenu = True layout.mainmenu_fluid = False layout.livesearch = False layout.personaltools = False if authenticated_userid(get_current_request()): layout.personaltools = True layout.columns_fluid = False layout.pathbar = False layout.sidebar_left = [] layout.content_grid_width = 12 return layout