[EuroPython] info: hidden folders

Jean-Marc Orliaguet jmo at chalmers.se
Tue May 30 09:11:10 CEST 2006


Hi Michael, list, ...

just for information:

in custom_get_dropdown_items.py I've replaced:

    # begin hideous mwh hack
    if item['object']['title_or_id'].find('onsorship') >= 0:
         continue
    # end hideous mwh hack

with:

    if item['object']['hidden_folder']:
         continue

Dario needed a hidden section under www.europython.org/sections/society/ 
hidden from the front page's main menu.

there is already an option on sections called "hide this folder from the 
navigation"
the hidden folders are shown in the sitemap though. The sponsorship page 
is now marked as "hidden".

Cheers
/JM


More information about the EuroPython mailing list