This forum is for assistance with theme development.

Want to Submit New Theme

Alright, I've got a theme that I'd like to contribute, but I don't want to deal with cvs. It's got 3 themes (blue, green, and brown). I call it B7. Here's the links:

B7.zip
Screenshot

Overriding theme functions in smarty template

There is a statement in the documentation for the smarty theme engine that states, Overriding other theme functions is accomplished in a manner similar to that described for PHPTemplate.

Obviously the API for the smarty engine is different from that for PHPTemplate. Could someone please give an explanation or, even better, an example of how to do this specifically for the smarty engine?

How do I detect if someone is loged in as a variable in the page.tpl.php phptempalte page for a theme?

I would like to detect if someone is logged in to my site in the page.tpl.php page.

Similar to the "if (isset($secondary_links))" or "if ($site_slogan)" tags. Any suggestions?

Swapping $links for icons

I'm coming from a Wordpress background, where many of the templates have (pointless) icons next to much of the post metadata. E.g. a pencil for "written by" or a small clock next to the time/date, etc.

Though I don't want to clutter things up that much, I do want to add a small speech bubble next to "Add comment" and a Printer icon next to "printer-friendly version", etc. How would I go about this? I'm not even sure how to break down $links, let alone discovering what I would replace that with!

Thanks for any help you can give.

Problem parsing query strings (4.7 magic_quotes_gpc = off)

I'm working on a module that shows lots of custom forms. I'm using the new 4.7 form API.
All datas are passed to querys like here:

Pages

Subscribe with RSS Subscribe to RSS - Theme development