Hi
I had a problem with the news module not displaying images as the images URL created was relative to the root and not the page. Change the setting on TinyMCE not to create relative URls and its fixed.
But the internal links no longer work. They insert <a href="http://www.##domain##.co.uk/{cms_selflink href='pagealias' }">link</a> which outputs <a href="http://www.##domain##.co.uk/http://www. ... /pagealias }">link</a>
of course this does not work.
Any way around this?
Am using cms 1.11.9 and latest tinymce.
All help greatly appreciated.
Steve
tinyMCE - cms_selflink problem
Re: tinyMCE - cms_selflink problem
And how were doing this originally to begin with?stevegos wrote:I had a problem with the news module not displaying images as the images URL created was relative to the root and not the page.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: tinyMCE - cms_selflink problem
originally the news posts never had any images in them, just text. Suddenly the web site administrator wanted to put images in them and discovered this problem.
Re: tinyMCE - cms_selflink problem
What I meant was: how are you or is he trying to put images? It is a default behavior to use relative links for images. You would need to add prepend {$entry->file_location} to the image call in news templates.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: tinyMCE - cms_selflink problem
Extensions > TinyMCE WYSIWYG > Advanced
set CMS-linker link-style to <a href>-style
set CMS-linker link-style to <a href>-style
Re: tinyMCE - cms_selflink problem
Looks to me like your domain name has some kind of strange spaces in it...