Solved: Hidding tags

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.
Locked
afri-can

Solved: Hidding tags

Post 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?
Last edited by afri-can on Fri Oct 19, 2007 10:15 am, edited 1 time in total.
babulski

Re: Hidding tags

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Hidding tags

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
afri-can

Re: Hidding tags

Post 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???
Attachments
screen1.jpg
afri-can

Resolved: Hidding tags

Post by afri-can »

   

Worked

resolved

Thanks
:D
Last edited by afri-can on Fri Oct 19, 2007 10:14 am, edited 1 time in total.
Locked

Return to “CMSMS Core”