Development Resources/HOWTO/Left Menu
(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:
- 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.
- Incubation Phase are required to conform to certain labeling, including having an incubation graphic on the home page. Projects in the
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)