Hiding smarty codes in page editor

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Hiding smarty codes in page editor

Post by robinmarek »

I'm wondering if there is a way to add a link to a page within your website, without it showing the smarty code?

It would make things easier for clients who have no knowledge of HTML, etc as they see the smarty codes and go  ??? whereas if it just came up as an underlined blue link like it would in HTML it would be easier.

Plus it adds a lot of text to the page and its difficult when you are trying to add links to photos in a gallery, for example.
Zoorlat

Re: Hiding smarty codes in page editor

Post by Zoorlat »

In your TinyMCE settings, go to the Advanced tab. Unbock "Generate relative urls". This will cause the links created by CMS-linker to be normal -links, instead of the normal smarty version.

Regards
Z
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Re: Hiding smarty codes in page editor

Post by robinmarek »

Ahhh thanks!!

If only I had known that before making 200 odd links!  :-\
Post Reply

Return to “CMSMS Core”