[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.phoenix] Re: Nav bars in subdirectories

Beth,

Indeed, the links in the _projectCommon.php file are relative to the page; therefore, your PTP Home link should be /ptp/index.php (or simply /ptp/)

Denis

Beth Tibbitts wrote:
If I have a php page  in
a subdirectory of the project site, e.g.

http://www.eclipse.org/ptp/docs/releases/release-1.0.php

The project-wide Nav bars defined in
_projectCommon.php  seem to be relative to the
current page, so they don't work on that page.

Currently the nav bar link to the main page is:
$Nav->addNavSeparator("PTP Home",     "index.php");

Should it perhaps be something like:
$Nav->addNavSeparator("PTP Home",     "/ptp/index.php");

??

...Beth Tibbitts


--

Eclipse WebMaster - webmaster@xxxxxxxxxxx
Questions? Consult the WebMaster FAQ at http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster