This forum is for assistance with theme development.

link management in custom theme

Hi, i have read several theme creation/customization article including the one at Bryght.com.Creating a new theme seems easy enough if you know CSS .The site that I'm building will be updated with content constantly and these articles need to appear in links.How do i manage these links without going to coding everytime?Is there any modules that help to do so?

Taxonomy values in page.tpl.php?

Can I use the Taxonomy values of a node in the page.tpl.php?

If so, how? the handbook didn't reffer me to it.

I want to change some of the attributes of the page according to the taxonomy, and node.tpl.php doesn't allow me to change to things I need (such as the sidebars, for example).

Any ideas anyone?

With thanks
Shany Topper

Customising how the Tabs are displayed

HI !
I'd like to add rounded corners to the primary tabs (not not primary links) --> Edit, view etc...
I don't know if (and how) I can use this code http://drupal.org/node/31704 or that one, I'm quite new to Drupal :D http://drupal.org/node/44711

By the way, is there a way to replace the text links for these tabs ? It could be nice to replace each link with an icon.

Do you know how I could do that ?

Thanks for your help :)

Different theme for specific pages

Hi! I'm trying to find a user-friendly way to be able to specify a different theme for specific pages through the admin interface, so a non-techie site admin doesn't have to do any template coding.

Displaying Taxonomy vocab and terms in node

While I do not care what theme is used, I have bluemarine as the default.

Instead of just displaying the taxonomy terms I would like it to display vocabulary: term so that the term has the proper context.

However, the themes/bluemarine/xtemplate.xtml isn't it. The includes/theme.inc isn't it. It's obviously not in the CSS, so I am at a loss. Please tell me where the code is for this. Has anyone ever done it before?

Thanks.

How to test if db_query() has results

I've tried
if ($result)
and
if (!empty($result))

So somehow $result is not empty, even if there are no entries in the database.

I've looked at the docs of db_query but i don't understand how this results are structured.

This must be a popular thing to do; make a query, and only do something if a result is returned. How do I do it?

Pages

Subscribe with RSS Subscribe to RSS - Theme development