Preview option?

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

Preview option?

Post by Hokey » Sun Feb 26, 2006 4:15 pm

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

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Preview option?

Post by garvinhicking » Sun Feb 26, 2006 6:30 pm

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/

User avatar
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey » Sun Feb 26, 2006 7:02 pm

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?

User avatar
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey » Wed Mar 01, 2006 1:39 pm

What could be wrong? I really can't find the template dropdown plugin neither in the plugin menu nor in the cvs-repository.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Mar 01, 2006 1:42 pm

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