My Calendar to Static Page

Creating and modifying plugins.
Post Reply
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

My Calendar to Static Page

Post by davecjr »

Would there be an easy way to have a plugin (like My Calendar) display on a static page instead of the sidebar?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: My Calendar to Static Page

Post by garvinhicking »

Hi!

You could do that by either editing your staticpage template that you use for this staticpage (you could create your own template, say plugin_staticpage2.tpl). Inside that, you can call sidebar plugins like this:

Code: Select all

{serendipity_showPlugin class="serendipity_plugin_mycalendar"  side="*"}
This will then display the output of the mycalendar plugin.

The other way is to use the "Smarty markup" plugin and then you can put the exact same code simply within your text of the static page.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply