Newsbox in content

General questions about CMSimple
Post Reply
zkagen
Posts: 11
Joined: Wed Jan 13, 2010 4:11 pm

Newsbox in content

Post by zkagen » Fri Mar 12, 2010 12:46 pm

Hi,

Is it possible to ad a newsbox in a page content - NOT in the template, but on a specific page, in that specific page content, via the editor?

Thanks in advance.

maeg
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark
Contact:

Re: Newsbox in content

Post by maeg » Fri Mar 12, 2010 2:01 pm

Hi Zkagen

It is possible if you use CMSimple_XH.

Use the new plugin "PD scripting" from Holger http://www.cmsimpleforum.com/viewtopic.php?f=12&t=1899

mvwd
Posts: 299
Joined: Tue Jun 17, 2008 10:35 pm
Location: Baden Württemberg / Germany
Contact:

Re: Newsbox in content

Post by mvwd » Fri Mar 12, 2010 3:03 pm

Classic CMSimple-Scripting:

Code: Select all

#CMSimple $output=preg_replace("/".chr(35)."CMSimple.*".chr(35)."/",newsbox('name_of_the_newsbox'),$c[$s]);#
mvwd.

zkagen
Posts: 11
Joined: Wed Jan 13, 2010 4:11 pm

Re: Newsbox in content

Post by zkagen » Mon Mar 15, 2010 7:57 pm

Thanks !

Post Reply