I'm trying to use the CMS Linker icon to create a link to an internal page within my CMSMS site however the CMS Linker creates the smarty tag but on the front end when trying to click on the link, it doesn't output the URL and instead just displays the smarty tag in the browser address bar.
example of what is displayed when I click the link I've just created: "http://www.mywebsite.com/{cms_selflink href='product-detail'}
It should display:
"http://www.mywebsite.com/index.php?page=product-detail
Any ideas on whats going on here?
WYSIWYG Editor CMS Linker Problem
Re: WYSIWYG Editor CMS Linker Problem
I don't know which editor you are using but both have a internal page self link button it looks like an orange palm tree, you can hilite a word to be the text link or just use it and it will use the page name as the text link...
<a href="{cms_selflink href='how-cmsms-works'}">How CMSMS Works</a>
<a href="{cms_selflink href='default_templates'}">some text</a>
<a href="{cms_selflink href='how-cmsms-works'}">How CMSMS Works</a>
<a href="{cms_selflink href='default_templates'}">some text</a>
[SOLVED]Re: WYSIWYG Editor CMS Linker Problem
I was using the default WYSIWYG editor. I know how the self link icon works and how it lets you link up to internal pages. However in my case it wasn't working. Instead of creating a href to a valid page, it was just spitting out the {cms_selflink href='how-cmsms-works'} tag into my browser so when you clicked a link it was taking you to "http://mydomain.com/{cms_selflink href='how-cmsms-works'}
I've built over 20 websites using CMSMS and this one doesn't want to work. It may have something to do with the fact that I am using an attribute from Cataloger which has a text area value into which I am trying to enter the self link.
I changed the WYSIWYG editor to TINYMCE which does work in my scenario.
I've built over 20 websites using CMSMS and this one doesn't want to work. It may have something to do with the fact that I am using an attribute from Cataloger which has a text area value into which I am trying to enter the self link.
I changed the WYSIWYG editor to TINYMCE which does work in my scenario.
Last edited by Dr.CSS on Sun Oct 20, 2013 6:09 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
Reason: Please use double quotes on fake links so they aren't clickable...
Re: WYSIWYG Editor CMS Linker Problem
The correct way to do this is to call the tag in your sub-template like this:delve2013 wrote:I am using an attribute from Cataloger which has a text area value into which I am trying to enter the self link.
Code: Select all
{eval var=$entry->foo}
"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!