Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Website » _projectCommon.php and the download link
_projectCommon.php and the download link [message #16284] Wed, 15 March 2006 18:00 Go to next message
Doug Gaff is currently offline Doug GaffFriend
Messages: 150
Registered: July 2009
Senior Member
Hi folks,

I'm having problems with the common navigation bar. I've created
_projectCommon.php in dsdp/dd website with the following code as the
instructions indicate:

require_once($_SERVER['DOCUMENT_ROOT'] .
"/projects/common/project-info.class.php");

$projectInfo = new ProjectInfo("dsdp.dd");

$projectInfo->generate_common_nav( $Nav );

All of the common links work correctly, except that the downloads link
is still pointing to the main DSDP download page and not the DD
sub-project download page.

I didn't see an XML tag for a download area in the project_info.xml
file, and I can't figure out how the common navigator decides what
download directory to use.

Anyone run into this? I'm a complete novice in PHP, so sorry if it's a
stupid question.

Thanks, Doug
Re: _projectCommon.php and the download link [message #16315 is a reply to message #16284] Fri, 17 March 2006 06:25 Go to previous message
Bjorn Freeman-Benson is currently offline Bjorn Freeman-BensonFriend
Messages: 335
Registered: July 2009
Senior Member
Doug,
This is because (um, uh, undocumented, sorry, fixed) the downloads link
comes from the Foundation internal database. Send webmaster or I the
correct URL and we'll update the internal database and then your common
nav bar will be updated. Sorry.

> All of the common links work correctly, except that the downloads link
> is still pointing to the main DSDP download page and not the DD
> sub-project download page.

- Bjorn
Re: _projectCommon.php and the download link [message #568807 is a reply to message #16284] Fri, 17 March 2006 06:25 Go to previous message
Bjorn Freeman-Benson is currently offline Bjorn Freeman-BensonFriend
Messages: 335
Registered: July 2009
Senior Member
Doug,
This is because (um, uh, undocumented, sorry, fixed) the downloads link
comes from the Foundation internal database. Send webmaster or I the
correct URL and we'll update the internal database and then your common
nav bar will be updated. Sorry.

> All of the common links work correctly, except that the downloads link
> is still pointing to the main DSDP download page and not the DD
> sub-project download page.

- Bjorn
Previous Topic:Phoenix 1.1 released!
Next Topic:Mirrors good: ftp bad (for me)
Goto Forum:
  


Current Time: Sun Dec 21 22:22:15 GMT 2014

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

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