the whole conten in one click

General questions about CMSimple
Post Reply
roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

the whole conten in one click

Post by roze » Sat Nov 22, 2008 9:43 am

In my menu I want to make a place to link to an <H1> page with the whole content from my site.
How can I do that?
Rob Zeijen,

Valkenswaard (NL)

ZiPs
Posts: 633
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark
Contact:

Re: the whole conten in one click

Post by ZiPs » Sat Nov 22, 2008 2:46 pm

Hi raze

From the CMSimple installer's manual - scripting section : http://www.cmsimple.com/?....:Entire_content

To display the whole content in an <H1> page, use this.

Code: Select all

<h1>Whole content</h1>#CMSimple $output.=rf($pth['file']['content']);#

If you don't want it to eat CMSimple code, use:

<h1>Whole content</h1>#CMSimple $output.=preg_replace("/".chr(35)."/s",chr(38).chr(35)."35;",rf($pth['file']['content']));#
/ZiPs
Last edited by ZiPs on Sat Nov 22, 2008 3:13 pm, edited 1 time in total.
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: the whole conten in one click

Post by roze » Sat Nov 22, 2008 2:57 pm

thank you.

It works!!
Rob Zeijen,

Valkenswaard (NL)

Post Reply