OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Different title image for different scheduled conference?

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Different title image for different scheduled conference?

Postby huangs3 » Fri Jun 15, 2007 10:30 am

Hi, I want to let different instance of a conference give a different title image. Then I check the header.tpl file and find this section is for displaying the title image. How can I change it such that the I can meet the goal?

I think the general idea is to do if-else condition depending on the variables telling which Scheduled Conference the system is displaying, however, I couldn't find the right variable by reading the large amount of code ... So what is the variable I can use? or any better method?

Thank you!

Code: Select all
{if $displayPageHeaderTitle && is_array($displayPageHeaderTitle)}
   <img src="{$publicConferenceFilesDir}/{$displayPageHeaderTitle.uploadName|escape:"url"}" width="{$displayPageHeaderTitle.width}" height="{$displayPageHeaderTitle.height}" border="0" alt="" />
{elseif $displayPageHeaderTitle}
......
huangs3
 
Posts: 15
Joined: Mon Jun 04, 2007 4:01 pm

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest