Page 1 of 1

Help with begining template mods

Posted: Tue Jul 05, 2005 2:41 am
by MattLavery
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

Re: Help with begining template mods

Posted: Wed Jul 06, 2005 12:27 pm
by garvinhicking
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 www.s9y.org and look at the Style / Template documentation for more information on this.

Have fun,
Garvin

Thanks!!

Posted: Thu Jul 07, 2005 7:22 pm
by mattlavery
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