OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



TinyMCEPlugin corrupt links

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

TinyMCEPlugin corrupt links

Postby eruthes » Tue Jun 26, 2007 6:27 am

When I'm writing a text on "For authors" in Setup 5.7 (for ex.) the TinyMCEPlugin plugin corrupts the links for "About the Journal" page. It changes the link from
Code: Select all
http://localhost/ojs/index.php/journal/about
to
Code: Select all
../../about
It loses the journal reference...
To do the link works correctly I need to Disable the plugin, edit the link reference and after Enable the plugin.

Eduardo Ruthes
eruthes
 
Posts: 26
Joined: Mon Nov 21, 2005 9:33 am
Location: Curitiba, Paraná - Brasil

Postby mj » Tue Jun 26, 2007 8:08 am

Hi Eduardo,

This is actually a known limitation of TinyMCE, although there are a few workarounds. They have a FAQ on the subject at: http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Domain_Absolute_URLs. More recent versions of TinyMCE have a 'relative_urls' parameter which can be set to 'false' to use absolute URLs like you require.

More information is also available at: http://www.lost-in-code.com/2007/05/26/tinymce-absolute-urls-not-relative/. We are considering moving TinyMCE into OJS as part of the default libraries, in which case we should be able to include this functionality by default in an upcoming release of OJS.

Hope this helps,
MJ Suhonos
OJS Development Team
mj
Site Admin
 
Posts: 304
Joined: Fri Mar 26, 2004 9:32 am
Location: Toronto, Canada


Return to OJS Technical Support

Who is online

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