Page 1 of 1
*Resolved* Question about the To-Do / Project List Plugin
Posted: Wed Aug 22, 2007 5:54 pm
by zkitten
I've tried searching, and wasn't able to find anything...
So, my question is, is there was a way I could put this on a static page, instead of taking up so much room in my sidebar?
Thank you.
Re: Question about the To-Do / Project List Plugin
Posted: Thu Aug 23, 2007 11:43 am
by garvinhicking
Hi!
You could do so, but it involves knowledge with Smarty or some reading about it.
You'll need to use the smarty-markup plugin and put smarty code on your staticpage that uses this functionality:
http://www.s9y.org/78.html, the {serendipity_showPlugin} code. Then you can set your todolist-sidebar plugin to "hidden" and only display it using the plugin command in your staticpage.
Regards,
Garvin
Posted: Thu Aug 23, 2007 5:41 pm
by zkitten
Took me a few minuets to find the plugin, but once I did worked like a charm!
For anyone else who might want to know, the specific plugin is "Markup: Smarty Parsing"
and the specific part on that page you'd need to read on is this-
{serendipity_showPlugin class="serendipity_your_nugget" id="serendipity_your_plugin:21323223efsd22aa" side="left|right|hidden|*" negate="null|true"}
This allows to emit any sidebar plugin at your choses location. Either specify the "class" or "id" parameter (NOT both!) to indicate which plugin(s) should be called. The "class" attributes specifies a Plugin classname like serendipity_plugin_flickr, and would return the output of all installed plugins. If you specify the "id" attribute, you need the actual plugin ID found in the serendipity_plugins DB table. Via the "side" parameter you can restrict the output to a certain sidebar.
Note that if you use this method to show a plugin for the left or right sidebar, that output is already displayed in your sidebar. You can set a plugin to hidden inside the Plugin Configuration Administration, and then make the Smarty function emit this hidden plugin, because hidden plugins are not contained in the sidebar. The "negate" attributes will reverse the output to show all plugins not matching the side/id/class restrictions.
I just added this-
Code: Select all
{serendipity_showPlugin class="serendipity_event_todolist" side="left|right|hidden|*" negate="null|true"}
to the page I wanted it on, and its working great!
Thank you garvinhicking!