After Update to version 1.6 the tinyMCE editor does not wok propely. When I insert an internal link it is not shown as link in the editor (like the external links). It show something like this:
Test of {cms_selflink page='home' text='CMS'}–
Has anyone any idea how to correct this behaiviour?
I'm using now 1.6.5
bye
Alfonso
Problem with TinyMCE internal links
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Problem with TinyMCE internal links
That's a smarty tag, and IIRC that's what that plugin in the TinyMCE module is supposed to do.
When you apply or submit the page, and then view the page (or use the preview) smarty will recognize that tag, and execute the appropriate php code to render the link correctly.
When you apply or submit the page, and then view the page (or use the preview) smarty will recognize that tag, and execute the appropriate php code to render the link correctly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Problem with TinyMCE internal links
It is a setting in the TinyMCE preferences, change it in on the TinyMCE admin page.
Re: Problem with TinyMCE internal links
I know, but before i did the upgrade this smarty tag was shown as a underlined link inside of the editor and not only on the page. I checked it with an older version on CMSms and it is shown as a underlined link and not as text. In the attached screenshot you see what I meen. I have inserted to links: one internal and one external. The external is underlined and showed as link, the internal not.calguy1000 wrote: That's a smarty tag, and IIRC that's what that plugin in the TinyMCE module is supposed to do.
When you apply or submit the page, and then view the page (or use the preview) smarty will recognize that tag, and execute the appropriate php code to render the link correctly.
The correspondig HTML is:
Code: Select all
<p>This is an interna link to {cms_selflink page='home' text='home'}.
This is an external link to <a href="http://www.google.de">google</a>.</p>
Which setting? I did not found a setting for this in the TyniMCE admin page.ajprog wrote: It is a setting in the TinyMCE preferences, change it in on the TinyMCE admin page.
Last edited by Alfonso on Wed Sep 09, 2009 5:54 am, edited 1 time in total.
Re: Problem with TinyMCE internal links
From the TinyMCE admin page ( Extensions -> TinyMCE WYSIWYG ) select the 'Advanced' tab.Which setting? I did not found a setting for this in the TyniMCE admin page.
Halfway down you'll see a select box for 'CMS-linker link-style'.
You want to use 'Style'.
If it already says 'Style' then change it to '{cms_selflink}-style' and save, then change it back and re-save. That should make sure it's updated the preferences and will use the non-smarty style.
s.
Re: Problem with TinyMCE internal links
Thanks Scooper, I always wondered about that also. I had checked the advanced settings and seen that 'Style' was already selected. Changing it and then changing it back got it working again.