Page 2 of 2

Re: Image Linking issue (1.5.1)

Posted: Fri Sep 18, 2009 1:56 pm
by paulbaker
Dr. CSS wrote: The problem is that the self_link uses {cms_selflink} style, go to tiny admin and the advanced tab and change the self link to style and it will use the image instead of the text of image link to make a link...
You are right, thank you Dr. CSS.  That does seems to solve it.  For others, this is how to do this - in admin go to Extensions -> TinyMCE WYSIWYG.  Then hit the Advanced tab and change "CMS-linker link-style" from {cms_selflink} to style.

From then on, when you select an image and apply a link to it, it works without an error.

I notice the bug report mentioned by blast2007 is still open and in fact there seems to be some argument over whether it really is a bug at all.

Re: [solved] Image Linking issue (1.5.1)

Posted: Sun Nov 08, 2009 10:15 am
by giamitus
Hi guys,

I'm looking something to fix my problem, but nothing of what you said fixed it.

I want to put internal link on images.
But when i selected image and use the "orange tree" internal link button, the image is cancelled. (sorry for bad english)

the internal link goes ok with text but not with image.

So i change the {cms_selflink} to style, BUT it doenst work.. still..

I need that to be fixed for my client cuz they dont know anything about the Wysiwyg thing and the code..

Does somebody can help me ? by the way, how to know how version of tinyMCE i'm using?

Thank you!
Julia

Re: [solved] Image Linking issue (1.5.1)

Posted: Sun Nov 08, 2009 10:43 am
by alby
giamitus wrote: I'm looking something to fix my problem, but nothing of what you said fixed it.
Read the rules.
Which version ..........

Alby

Re: [solved] Image Linking issue (1.5.1)

Posted: Sun Nov 08, 2009 10:52 am
by giamitus
Hi, i think it's 1.6.6 but i'm not sure..

i change "CMS-linker link-style" from {cms_selflink} to style

i removed the 3 lines

Code: Select all

345
Code:
$label = cms_htmlentities($label);
361
Code:
$title = cms_htmlentities($title);
439
Code:
$linktext = cms_htmlentities($linktext);

but nothing works.
thank you

Re: [solved] Image Linking issue (1.5.1)

Posted: Sun Nov 08, 2009 11:08 am
by alby
giamitus wrote: Hi, i think it's 1.6.6 but i'm not sure..
you must be sure .....

giamitus wrote: i change "CMS-linker link-style" from {cms_selflink} to style
With 1.6.6 and I have not problem ...

Alby

Re: [solved] Image Linking issue (1.5.1)

Posted: Sun Nov 08, 2009 11:34 am
by giamitus
Yeah thank you Alby,
but it doens't work for me.

i'll try again to find something.

Re: [solved] Image Linking issue (1.5.1)

Posted: Mon Nov 09, 2009 11:58 pm
by Dr.CSS
Your not supposed to change PHP code just do it in the tinyMCE admin page...