CMSimple.ORG

Valid HTML 4.01 Transitional

Dichos y Refranes Escribir al Reves

CMSimple.ORG > Installer's Manual > CMSimple Scripting > Hide page

Hide page

The following code hides this page from the table of contents and 'the navigation bar' on the finished page. The page may still be accessed by typing in the full url:

#CMSimple hide#

The page will not be searched and it will not be shown in the sitemap. The page will be visible to edit, but not in the editor's normal mode.
The 'locator bar' only shows the title of that page.

The title of that page will still be part as the URL for subpages. You may want to 'hide' all subpages as well.

While in edit mode, the page still appears in the 'table of content'.

It is normally not possible to use two CMSimple Scripting tags on the same page, however #CMSimple hide# will work with another tag, if it is placed as the first tag on the page.

Here is a page containing the CMSimple Scripting code using the geturl() function.
#CMSimple hide#
#CMSimple $output.=geturl('http://www.harteg.dk').chr(35). 'CMSimple hide'.chr(35);#

The first part of the code ensures that the page will be hidden from the TOC when viewed.