Styling the guestbook plugin

Creating and modifying plugins.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Styling the guestbook plugin

Post by yellowled »

Hey guys,

right now, I'm wrestling with the gb plugin. The most urgent questions are:

1. The gb plugin has 3 .tpl files - as far as I can see, the plugin either uses plugin_guestbook.tpl or the other two. Is this correct? Which plugin option determines which .tpl files are used?

2. <div id="entry_paging"> - how/where is this created? Is it hard coded into the plugin php files?

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

Hi

No, guestbook 2.x just uses the plugin_guestbook_form.tpl and plugin_guestbook_entries.tpl. The plugin_guestbook.tpl was used in the old guestbook version 1.x.

The <div id="entry_paging"> is hard coded in serendipity_event_guestbook.php at line ~746 to 755. I can't remember why, but I didn't get it to work in the tpl itself.

Ian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

Timbalu wrote:No, guestbook 2.x just uses the plugin_guestbook_form.tpl and plugin_guestbook_entries.tpl. The plugin_guestbook.tpl was used in the old guestbook version 1.x.
I see, thanks.
Timbalu wrote:The <div id="entry_paging"> is hard coded in serendipity_event_guestbook.php at line ~746 to 755. I can't remember why, but I didn't get it to work in the tpl itself.
Bummer. Well, never mind :)

YL
Post Reply