OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem with iframe tag in OCS

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.

Problem with iframe tag in OCS

Postby obi » Mon Oct 11, 2010 5:57 am

Hi,
The existing TinyMCE in OCS version 2.3.3.1 does not support <iframe> tag. I want to put this tag in "> User > Conference Site Management > Website Management > 3.3 Website Footer" form. Has anyone solved this problem in OCS?

Thanks in advance.

Cheers.
Obi
obi
 
Posts: 52
Joined: Wed Jun 09, 2004 5:56 am

Re: Problem with iframe tag in OCS

Postby jmacgreg » Tue Oct 12, 2010 2:46 pm

Hi Obi,

This is a known problem with the TinyMCE widget -- see viewtopic.php?f=3&t=5920 for some possible solutions.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem with iframe tag in OCS

Postby obi » Wed Oct 13, 2010 5:14 am

Hi James,
Thanks for your answer. I am a little confused after reading the solutions.
Do you mean editing the database table (static_page_settings) or twinkling StaticPagesEditForm.inc.php?

Cheers.
Obi
obi
 
Posts: 52
Joined: Wed Jun 09, 2004 5:56 am

Re: Problem with iframe tag in OCS

Postby jmacgreg » Wed Oct 13, 2010 10:42 am

Hi Obi,

Actually, neither solution will help your case specifically -- this has nothing to do with the static pages plugin. You have two choices: edit the table that contains the conference footer information directly, for a one-time fix (that would be the conferencePageFooter column in the conference_settings table); or edit the TinyMCE plugin behaviour to support iframe tags. See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=5278 for a warning about why this could be a security risk, and viewtopic.php?f=2&t=4621#p17976 for some tips on how to extend TinyMCE.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem with iframe tag in OCS

Postby obi » Fri Oct 15, 2010 6:43 am

Hi James,
Thanks, it works.
Cheers
Obi
obi
 
Posts: 52
Joined: Wed Jun 09, 2004 5:56 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest