Great Idea Nick!
Here’s what I’ve
done. Instead of creating a new skin I’ve added a new
parameter to $App.
$App->Promotion = TRUE;
Its pretty simple to use. You’ll
need to call it before you call $App->generatePage(…); As
a nice side effect if you put the code into _projectCommon.php file it should
enable it for all your pages recursively in a given directory.
I’ve commited the changes necessary
to make this happen to phoenix.eclipse.org.
Changes include app.class.php and
promotion.php (/e.o-c/themes/phoenix/promotion.php)
I’d like to make this live ASAP. I’ll
let the list know when this is actually enabled on the live site.
From:
phoenix-dev-bounces@xxxxxxxxxxx [mailto:phoenix-dev-bounces@xxxxxxxxxxx] On Behalf Of Nick Boldt
Sent: Wednesday, February 27, 2008
12:35 PM
To: For
developers on the new Eclipse.org website project.
Cc: Ed Merks
Subject: Re: [phoenix-dev]
EclipseCon Promotion on the Homepage
Nathan:
+1!
Could this be rolled out as a new skin, "eclipsecon", so that I could
apply it to all the Modeling Project sites? Seems much more eyecatching and
effective than just posting one of these up on the sites:
http://www.eclipsecon.org/2008/index.php?page=friends/
Nick