Plugins call in newsbox

Please post answers on the most frequently asked questions about CMSimple
Tata
Posts: 2507
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Plugins call in newsbox

Postby Tata » Thu Nov 15, 2012 12:43 am

I have seen it somewhere but can't find it anymore - there was a way how to load pages in a newsbox which had another plugins call included.
Right now I have a template with a couple of pages which have always one or two newsboxes connected by $news variable.
E.g.:
Page 1 > News01 + News02, Page 2 > News03 + News04, Page 3 > News05 + News06 + News07, etc.
News01 has a RegisterLoginForm
News02 has an AdvancedForm
Is such something possible at all? Or is there another News-like plugin to achive this? Or the only way is to make separate templates for any of such combined pages?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 12007
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Plugins call in newsbox

Postby cmb » Thu Nov 15, 2012 1:03 am

Hi Tata,

a solution would be to use Coco_XH. In the template you have to insert the call to coco('newsbox'), and on every page you can enter the calls to newsbox(...) in the co-content.

ISTM there's a simpler solution for your requirement, but currently I can't work it out. If the Coco_XH solution doesn't suit your needs, just reply, and I'll look for an alternative again.

Christoph
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

Gert
Posts: 3054
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Plugins call in newsbox

Postby Gert » Thu Nov 15, 2012 10:03 am

Hi Tata,

there are 2 ways working for me:

Code: Select all

{{{PLUGIN:newsbox('The_page');}}}
or

Code: Select all

#CMSimple $output.=newsbox('The_page');#

Simply write this to your Newsbox page, and "The_page" should be added to the Newsbox,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services


Return to “FAQ's”

Who is online

Users browsing this forum: No registered users and 2 guests