Page 1 of 1

[V1.6.5.] Internal Link with Design - display of html-code

Posted: Sun Sep 13, 2009 11:16 pm
by hihachi
Hi there,

maybe i need a push into the right direction, but i tested a bit around with the latest Version of CMSMS.

And this is, what happened.

My default page is called Start and it can be linked to with the internal-Link-Function on the tinymce-Editor.

Ok, link is generated to start on the other page.

Then i tried the following:

Added a page and clicked on a word with the editor and selected Bold for this word.
Checked it out and the word is displayed bold.

Then i selected the Word and tried to link to an internal page with the function.

Link is there, but the Word is not bold.
Instead you see this:


Word


with the whole are starting with the strong-code as a link.

Seems that the Parser cannot handle internal links with bold,underline or italic-display.

Hope that helps and you can understand what i wanted to say.

Re: [V1.6.5.] Internal Link with Design - display of html-code

Posted: Mon Sep 14, 2009 7:56 am
by fredp
hihachi wrote: ...
Added a page and clicked on a word with the editor and selected Bold for this word.
Checked it out and the word is displayed bold.

Then i selected the Word and tried to link to an internal page with the function.

Link is there, but the Word is not bold.
Instead you see this:


Word

...
Hi,

Sounds like you have TinyMCE configured to use {cms_selflink}-style links. You could try switching to the simpler -style links.  I've found they have fewer issues than {cms_selflink}-style links. You can make this change from the Admin console: go to the "Advanced" tab of "Extensions -> TinyMCE WYSIWYG", change the "CMS-linker link-style:" setting to "-style", and then click "Save advanced settings".   See if that does what you want.

If you still want to format {cms_selflink}-style links, then I've found a crude workaround that seems to work: apply formatting to the link after it is created.  That is, apply formatting to the whole {cms_selflink ...} tag.  If you make a mistake and format the string before making it a link, just remove the formatting (e.g. or whatever) from the text string (in HTML mode) and then apply formatting to the {cms_selflink ...} tag (in WYSIWYG mode).  You can also use the 'removeformat' button to remove formatting from a selected string, if you add 'removeformat' to your TinyMCE profile settings.

Hope this helps,
Fred