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
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

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: Bing [Bot], Yahoo [Bot] and 1 guest