{{#Config settings that will change for different views, e.g. for AT, trail2016, etc. These are stored in the setup_params dictionary #UI_layer->page The name of the UI layer view file #UI_layer->tabs A name or array of names of tabs to use (names are in OZglobals:tab_definitions and the linkouts() # function in tree.py as key names in the url dict) or 'default' for the default set or 'all' for all. # Tabs (if they exist) will be shown in this order when popping up linkouts to other pages. #UI_layer->vars->links Can be 'none' for no links, 'newtab' for all links in new tab, or 'default' (or unset) to leave #popups->vars Passed to pic_info.load, about.load, how.load, data_sources.load, and the # internal linkouts urls. You will usually want to define 'popup':1 or 'popup':3. # It's also sensible to set 'form_reservation_code' to a UID so that re-opening sponsor tabs remembers who you are #partner (Optional): if it matches a partner_identifier in the partners table, we will automatically fill out # the popups and UI_layer params to make am automatically created sponsorship site setup_params = { 'partner': 'LinnSoc', 'UI_layer': { 'page':'UI_layer.load', 'vars':{'tabs':'default', 'links':'newtab'}, }, 'popups': { 'vars':{'popup':1, 'form_reservation_code': form_reservation_code}, }, } }} {{extend ('treeviewer/layout_popuped_viewer.html' if request.vars.popup else 'treeviewer/layout.html')}}