Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 262806

Summary: Changes to Promotions
Product: Community Reporter: Nathan Gervais <nathan>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://www.eclipse.org
Whiteboard:
Bug Depends on:    
Bug Blocks: 262289, 262659    

Description Nathan Gervais CLA 2009-01-28 13:57:21 EST
I've committed some new files to eclipse.org-common on phoenix. 

/e.o-c/system/app.class.php

The first major change is the way promotions work.  Before they used to be inserted in $App->generatePage which in hindsight is wrong.  I've moved them into the skin.  Since the skins file have access to $App already i've changed $App->CustomPromotionPath has also been changed to public.

Promotions are now no longer part of e.o-c and now reside in /home/promotions/ so they can be updated easier.

The Nova Theme (visual.css & header.css) have been updated for promotions and also to solve Bugs 262289 & 262659.

The Phoenix Theme (header.php) was updated for promotions as well.

Promotions are still controlled by setting $App->Promotion = TRUE

The default promotion can be overridden by specifying the include path to your promotions file.  $App->CustomPromotionPath = "path/to/file.php"
Comment 1 Denis Roy CLA 2009-03-19 15:27:50 EDT
Nate, you're all done here, right?
Comment 2 Nathan Gervais CLA 2009-03-19 15:35:24 EDT
Yep closing out!