Problem with TinyMCE internal links

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Alfonso
Forum Members
Forum Members
Posts: 12
Joined: Tue Jul 22, 2008 10:05 am

Problem with TinyMCE internal links

Post by Alfonso »

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
Attachments
test.png
test.png
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with TinyMCE internal links

Post by calguy1000 »

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.
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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Problem with TinyMCE internal links

Post by Jeff »

It is a setting in the TinyMCE preferences, change it in on the TinyMCE admin page.
Alfonso
Forum Members
Forum Members
Posts: 12
Joined: Tue Jul 22, 2008 10:05 am

Re: Problem with TinyMCE internal links

Post by Alfonso »

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.
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.
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>
ajprog wrote: It is a setting in the TinyMCE preferences, change it in on the TinyMCE admin page.
Which setting? I did not found a setting for this in the TyniMCE admin page.
Attachments
prev1.png
Last edited by Alfonso on Wed Sep 09, 2009 5:54 am, edited 1 time in total.
scooper
Forum Members
Forum Members
Posts: 242
Joined: Fri Dec 09, 2005 12:36 pm

Re: Problem with TinyMCE internal links

Post by scooper »

Which setting? I did not found a setting for this in the TyniMCE admin page.
From the TinyMCE admin page ( Extensions -> TinyMCE WYSIWYG ) select the 'Advanced' tab.
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.
irish
Forum Members
Forum Members
Posts: 101
Joined: Tue Jun 03, 2008 2:31 pm

Re: Problem with TinyMCE internal links

Post by irish »

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.
Locked

Return to “[locked] Installation, Setup and Upgrade”