OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Image in Sponsor Field

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.

Image in Sponsor Field

Postby npercival » Mon Oct 15, 2007 6:04 am

Hi,
I was wondering if there is any way to include a small image for each sponsors. I can host the images outside OCS but when I add the <img ... /> tag in to the Sponsor Name field, the input is "cleaned" to ensure that is prints exactly what I input. Would it be possible to stop this "cleaning"?

Thank,
Nathan
IT Specialist
Faculty of Engineering and Applied Science
UOIT
npercival
 
Posts: 2
Joined: Sun Oct 14, 2007 11:57 am

Re: Image in Sponsor Field

Postby npercival » Mon Oct 15, 2007 7:08 am

I have found a way around this by editing templates/about/conferenceSponsorship.tpl and changed escape to nl2br for the $sponsor.institution field but am not sure this is the best way.

Nathan
npercival
 
Posts: 2
Joined: Sun Oct 14, 2007 11:57 am

Adding image to sponsor details

Postby spatialguru » Tue Jun 10, 2008 10:09 am

I have a similar need as above, but think it would be better to modify the form to also hold image values. e.g. modify manager/schedConfSetup/1 page and db values to hold an image url. I'm going to take a crack at adding this, because I ultimately want sponsor logos/links in a left sidebar block.

If anyone on the PKP team has pointers or warning about this approach, please let me know. Especially if similar functionality is already running in CVS.

Tyler
spatialguru
 
Posts: 112
Joined: Mon Jun 25, 2007 1:23 pm
Location: British Columbia, Canada

Re: Image in Sponsor Field

Postby spatialguru » Tue Jun 10, 2008 1:39 pm

I've added details for patching up your install (2.1) to allow you to define logos for each sponsor entry and have them listed on the about -> organizing team page.

For more info see: http://pkp.sfu.ca/support/forum/viewtopic.php?f=14&t=3210&p=11655#p11655
spatialguru
 
Posts: 112
Joined: Mon Jun 25, 2007 1:23 pm
Location: British Columbia, Canada


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests