Plugins call in newsbox

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

Plugins call in newsbox

Post by 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: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Plugins call in newsbox

Post by 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

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

Re: Plugins call in newsbox

Post by 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

Post Reply