serendipity 3.0 template and next/previous entry

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

serendipity 3.0 template and next/previous entry

Post by Zugschlus »

Hi,

when viewing my blog (http://blog.zugschlus.de/) with the serendipity 3.0 template, the output of the next/previous entry plugin is displayed above the entry title if next/previous entry is configured to placement bottom. Placement top seems to work alright, and placement smarty doesn't show the entry links at all.

Is that a fault of s9y, of the template, or of the plugin? Is there a patch to the stable svn version (svn://svn.berlios.de/serendipity/branches/1.0) which will fix this issue?

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity 3.0 template and next/previous entry

Post by garvinhicking »

Hi!

Yes, the entrypaging plugin emits its own CSS which is not really compatible to be within the "bottom placement" box, whichi n serendipity 3.0 is the small upper right hand box.

Smarty placement requires you to manually place smarty variables in your template files.

So you either need to edit the template to put the code manually where you like, or you need to edit the CSS to properly place the output visually, or you need to use the top placement option of the plugin. Or you need to use a different template that has the usual footer/header positioning. ;)

Best regards,
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/
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Post by Zugschlus »

The entrypaging code suggests that it is possible to override the css code generated by the entrypaging plugin. How am I supposed to put the overriding CSS; and will it work to just copy the CSS definition of entryFooter?
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I think so; just paste the whole CSS thats generated by the plugin into your style.css.

Best regards,
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/
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Post by Zugschlus »

garvinhicking wrote:I think so; just paste the whole CSS thats generated by the plugin into your style.css.
You mean the style.css of the selected template in the templates subdirectory? Or does s9y look for a style.css in other places as well?
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, I mean style.css in the templates subdirectory.

Regards,
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/
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Post by Zugschlus »

I have "solved" this issue by changing to a different template. Thanks for helping.
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
Post Reply