Help with begining template mods

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply

Help with begining template mods

Post by MattLavery » Tue Jul 05, 2005 2:41 am

Greetings, all.

I am trying to add some HTML to the sidebar. I feel quite incompetant at the moment. While I've coded pages in raw HTML before and I've done event-oriented and object-oriented programming before, I can't find where to put my code.

Everything seems really segmented and disjointed to me. Can someone give me a few pointers on:
    How to go about reading and decoding this code
    Where to put my block of HTML code to put something in the right sidebar on both the default theme and "Idea"

Thank you for your help,
- Matt

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

Re: Help with begining template mods

Post by garvinhicking » Wed Jul 06, 2005 12:27 pm

There are two ways to get it done:

1. The easy way.

Go to the plugin administration and add a "HTML Nugget" sidebar plugin. There you can put RAW HTML code.

2. The flexible way

Use our Smarty templating system. There you can edit the templates/*.tpl files of your template to place raw HTML and even Smarty code. Please look at and look at the Style / Template documentation for more information on this.

Have fun,
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy:
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby:

Posts: 1
Joined: Tue Jul 05, 2005 2:50 am
Location: Oahu, Hawaii


Post by mattlavery » Thu Jul 07, 2005 7:22 pm

I've been poking around the code and getting a better feel for it. It's a diferent paradigm than inline code or event-driven apps for MS Access, but I'm getting there. :-)

Thanks for the pointers, I see the usefullness of the "nugget" now!

- Matt Lavery
- Matt Lavery
Webmaster, host and namesake of

Post Reply