Page 1 of 1

Styling the guestbook plugin

Posted: Mon Feb 26, 2007 2:49 pm
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

Posted: Mon Feb 26, 2007 3:33 pm
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

Posted: Mon Feb 26, 2007 4:16 pm
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