class of multicategory select sidebar

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
User avatar
RobA
Regular
Posts: 317
Joined: Wed Apr 27, 2005 5:11 pm
Contact:

class of multicategory select sidebar

Post by RobA » Sun Nov 06, 2005 10:33 pm

I like to make my submit buttons have a look consistant with my theme, so have defined a class called submit and change all template references to use it:

eg (from my comment form template file:

Code: Select all

<input class="submit" name="serendipity[submit]" value="Submit Comment" type="submit"> <input class="submit" name="serendipity[preview]" value="Preview" type="submit">


I upgraded to version 9 and see new multiselect sidebar has a button:

Code: Select all

<input name="serendipity[isMultiCat]" value="Go!" type="submit">


and I would like to add the class="submit" attribute to it.

Is this available in a smarty template file, or do I have to edit php code?

-Rob A>
* My s9y blog:
* Rob A's (Im)Personal Blog
* http://www.silent9.com/blog

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

Re: class of multicategory select sidebar

Post by garvinhicking » Sun Nov 06, 2005 10:48 pm

Yes, since s9y 0.9 a "plugin_categories.tpl" file contains this! You need to enable smarty templating in the category plugin config, though.

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
RobA
Regular
Posts: 317
Joined: Wed Apr 27, 2005 5:11 pm
Contact:

Post by RobA » Mon Nov 07, 2005 2:50 pm

Thanks - missed that!
* My s9y blog:
* Rob A's (Im)Personal Blog
* http://www.silent9.com/blog

Post Reply