creating plugin tpl for db entries

Creating and modifying plugins.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

creating plugin tpl for db entries

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: creating plugin tpl for db entries

Post 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
# 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/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

thanks Garvin

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