Page 1 of 1

Plugins call in newsbox

Posted: Thu Nov 15, 2012 12:43 am
by Tata
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?

Re: Plugins call in newsbox

Posted: Thu Nov 15, 2012 1:03 am
by cmb
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

Re: Plugins call in newsbox

Posted: Thu Nov 15, 2012 10:03 am
by Gert
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