Page 1 of 1

creating plugin tpl for db entries

Posted: Sun Sep 17, 2006 5:50 pm
by Timbalu
Hi

Is there a plugin which uses a *.tpl for db entries?
I need this to find out how to do it in the right way. I couldn“t find any docs for this.
I already use a form.tpl, but this is kind of static and relative easy to code in the create page funtion.

Ian

Re: creating plugin tpl for db entries

Posted: Sun Sep 17, 2006 6:23 pm
by garvinhicking
Hi!

The entries of a Serendipity entry page are printed via the "entries.tpl" template file.

You can use a sidebar plugin like the "Show Entries" plugin to show entries in the sidebar, and using the delivered .tpl files with that plugin.

HTH,
Garvin

Posted: Sun Sep 17, 2006 9:38 pm
by Timbalu
thanks Garvin

this gave me the right idea! It seems quite easy (when you managed to solve it once...) :)
Ian