I noticed the template chooser plug-in uses all of the templates from s9y and not templates I've edited. I'd like users to be able to choose their own skin, but
a) only have a small to moderately sized selection to choose from (not all 20 or so templates avail in s9y)
and
b) use the templates I have stored and edited, not the unedited versions available for downoad here.
Is there a way for me to change the template chooser to suit my purposes?
Template Chooser plug-in
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Disable spartacus and delete your downloadable templates list (package_templates.xml found in the templates_c folder of your installation).
The downside of doing this is that you won't have access to spartacus.
Or, agree with my feature request,
Could someone add a template selector to the plugin config screen (similar to the multilingual language selector) so that the blog owner is able to select the templates to be included in the sidebar drop-down.
Carl
The downside of doing this is that you won't have access to spartacus.
Or, agree with my feature request,
Could someone add a template selector to the plugin config screen (similar to the multilingual language selector) so that the blog owner is able to select the templates to be included in the sidebar drop-down.
Carl
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You can easily do this:
1. Only install the Event Plugin Templatechooser. Not the sidebar one.
2. Create a custom HTML nugget with your own <select> code, that mimics the output of the Templatedropdown plugin. Something like this:
HTH,
Garvin
You can easily do this:
1. Only install the Event Plugin Templatechooser. Not the sidebar one.
2. Create a custom HTML nugget with your own <select> code, that mimics the output of the Templatedropdown plugin. Something like this:
Code: Select all
<form action="/yourblog/index.php" id="theme_chooser" method="post">
<select name="user_template" onchange="document.getElementById('theme_chooser').submit();">
<option value="default">Default TEmplate</option>
<option value="kubrick">Kubrick</option>
<option value="hemmingway">Hemmingway</option>
</select>
</form>
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/
# 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/
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
See what happens when you start getting too involved in code, the brain starts thinking of code changes and forgets the obvious user solution, I need a break, I rewrote the contactform plugin for another user, and now I feel like all my brain wants to do is look at code - which isn't good because I'm not a programmer and I'm sure I'll just stuff things up if I keep thinking along these lines..