Page 1 of 1
WYSIWYG Editor CMS Linker Problem
Posted: Mon Sep 30, 2013 3:03 pm
by delve2013
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?
Re: WYSIWYG Editor CMS Linker Problem
Posted: Tue Oct 15, 2013 7:37 pm
by Dr.CSS
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>
[SOLVED]Re: WYSIWYG Editor CMS Linker Problem
Posted: Sun Oct 20, 2013 5:07 pm
by delve2013
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.
Re: WYSIWYG Editor CMS Linker Problem
Posted: Sun Oct 20, 2013 5:57 pm
by Jo Morg
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.
The correct way to do this is to call the tag in your sub-template like this:
Replace the
foo by the attribute you are having the issue with