Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Website » Nav bars in subdirectories
Nav bars in subdirectories [message #17855] Mon, 19 June 2006 23:07 Go to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
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
Re: Nav bars in subdirectories [message #17870 is a reply to message #17855] Tue, 20 June 2006 19:37 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
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@eclipse.org
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
Re: Nav bars in subdirectories [message #569683 is a reply to message #17855] Tue, 20 June 2006 19:37 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
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@eclipse.org
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
Previous Topic:Nav bars in subdirectories
Next Topic:Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing
Goto Forum:
  


Current Time: Tue Apr 23 16:30:00 GMT 2024

Powered by FUDForum. Page generated in 0.02563 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top