[solved] Image Linking issue (1.5.1)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Image Linking issue (1.5.1)

Post 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.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
giamitus
New Member
New Member
Posts: 5
Joined: Wed Oct 28, 2009 4:24 am

Re: [solved] Image Linking issue (1.5.1)

Post 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
alby

Re: [solved] Image Linking issue (1.5.1)

Post 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
giamitus
New Member
New Member
Posts: 5
Joined: Wed Oct 28, 2009 4:24 am

Re: [solved] Image Linking issue (1.5.1)

Post 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
alby

Re: [solved] Image Linking issue (1.5.1)

Post 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
giamitus
New Member
New Member
Posts: 5
Joined: Wed Oct 28, 2009 4:24 am

Re: [solved] Image Linking issue (1.5.1)

Post by giamitus »

Yeah thank you Alby,
but it doens't work for me.

i'll try again to find something.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [solved] Image Linking issue (1.5.1)

Post by Dr.CSS »

Your not supposed to change PHP code just do it in the tinyMCE admin page...
Post Reply

Return to “Layout and Design (CSS & HTML)”