Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Development Resources/HOWTO/Left Menu
< Development Resources
Revision as of 14:04, 17 September 2008 by Bjorn.freeman-benson.eclipse.org (Talk | contribs) (New page: ===(1) Using the Infrastructure=== The format and content of the project's pages, including the project home page, is under the sole control of the project's Committers (subject, of course...)
(1) Using the Infrastructure
The format and content of the project's pages, including the project home page, is under the sole control of the project's Committers (subject, of course, to common sense about truth, decency, project relevance, security issues, etc.) with two exceptions:
- R Each project is required to have a single standard top-of-the-left-nav navigation link to the standard project page for that project so that common information, such as where to find downloads and how to get started with the project, is easily and consistently available for all projects.
- R Projects in the Incubation Phase are required to conform to certain labeling, including having an incubation graphic on the home page.
PHP Code for Standard Left Menu
The PHP to create the single common nav items on the home page is to include this code before the $App->generate_page(...)
and before any project-specific $Nav items are added: (note that internalprojectid is the project's Foundation internal database key, e.g., technology.foobar)
$Nav->setLinkList( array() ); $Nav->addNavSeparator( "<em>Project Name</em>", "/<em>shortname</em>" ); $Nav->addCustomNav( "About This Project", "/projects/project_summary.php?projectid=<em>internalprojectid</em>", "", 1 );
The Standard Left Menu Item Looks Like This...
This page is moderated by Anne Jacko and Bjorn Freeman-Benson (Eclipse Foundation)