Page 1 of 1
Solved: Hidding tags
Posted: Thu Oct 18, 2007 6:00 pm
by afri-can
Any way of hidding tags
example
Code: Select all
{news detailpage='artikelen in the media' category="artikelen in the media" dateformat="%e, %B %G" lang="nl_NL"}
in the content area so that customer cannot destroy?
Re: Hidding tags
Posted: Thu Oct 18, 2007 8:23 pm
by babulski
first idea, it may work - i did no testing on this:
put this tag in a global content (GC); then disable editing GC's for costumer.
cheers, babu
Re: Hidding tags
Posted: Thu Oct 18, 2007 9:19 pm
by calguy1000
If you give a user access to edit content, he has the ability to remove the tags from the content area. it's best in this case to either:
a) don't give the user permission to edit that page
or
b) put the tags into the page template.
Re: Hidding tags
Posted: Thu Oct 18, 2007 10:17 pm
by afri-can
(GC) wont work I have to put the {global content} tag any way
I went with adding an extra content tag
{content block="Code - DO NOT TOUCH" wysiwyg="false"}
see attached
It works OK, if the user still edits the code after reading the "Code - DO NOT TOUCH" then its their problem
The next problem is that the edit content area wont let me leave it blank
What code can I put in tried:
- in HTML popup area,
don't have access to the entire text block
-
Get "No Content given!"
-
Get "No Content given!"
I also tried {content} -
it crashed my server
Any suggetions???
Resolved: Hidding tags
Posted: Fri Oct 19, 2007 10:07 am
by afri-can
Worked
resolved
Thanks
