Preview option?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Preview option?

Post by Hokey »

Hi s9y-users (and especially developers ;-) )!

Is it possible to add a preview function for layouts, so that no test-blog is needed for developing and testing new styles? Every time I try some new layouts on my blog my readers must think I am crazy... :wink:

Greetings,
Hokey
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Preview option?

Post by garvinhicking »

You could just install the templatechooser sidebar and event plugins, so you can test a theme via a dropdown on your frontpage.

If you only install the event plugin and not the sidebar plugin, only you can change the theme knowingly by just calling index.php?serendipity[template]=XXX...

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/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

Hi Garvin,

maybe I'm blind but I can't find them!? (Although I once had installed the template dropdown plugin. )

And this event plugin is unknown to me. I never saw this before, how is it called?
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

What could be wrong? I really can't find the template dropdown plugin neither in the plugin menu nor in the cvs-repository.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Oh, I didn't see this posting.

The templatechooser plugins are available via default bundled serendipity, they're in the folders serendipity_event_templatechooser and serendipity_plugin_templatedropdown.

Regard,s
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/
Post Reply