This forum is for assistance with theme development.

How to only display custom block only on front page

I have a custom block defined in my X.module file and themed using block-X.tpl.php. Works great, and when I "print $sidebar_right" in the page.tpl.php file it shows up no problem. But I only want it to show up on the front page.

What is the best way to shut off this block for pages other than the front page? I don't want to create the block code (it's a complicated block with a database access so I don't want to spend the cycles) in my X.module file.

Appreciate the help,
DougStum

Unusual Check Mark Added to some links?

I just changed the template on my drupal site, and now, at the end of some links, I'm getting a weird "v" that looks like a checkmark.

Here is an example:
http://www.freeimagehosting.net/image.php?9ff5301a33.jpg

What on earth is that, and how could I fix it?

Getting node information (nid) in my module

We are trying to build a top navigation that displays a relevant menu in a sidebar block. For example if our top navigation was: "Animals", "Cars", "Foods" if the user clicked "Animals" the sidebar block would display a menu to the nodes "Monkeys", "Elephants", etc...

Any thought on how to go about this? Is this a theme thing or a module thing?

multiple custom menu_item(s) per theme

My site contains 4 levels of navigation.
1) dhtml at the top of the site
2) regular image links as primary
3) regular image links as secondary (although formated similarly as primary but use different images)
4) inside pages context sensitive menus that look like list items but do not use images (text only).

i have defined a custom menu_item that i can use for both menu (2) and (3) but i am sure i have to use another custom menu_item for (1) and (4).

to see what i mean visit this site: http://hias.org

Yikes! CSS Theme & TinyMCE Problem

Hello- I am having a problem where the dark blue background color from my css is also doubling as the background color for the text box with tinymce!

if i keep the background this dark, the text box becomes the same color and makes it difficult to enter text. What could I be doing wrong? Why won't the text box just say white?

Thank you!

"Tabs" theming

hello,
I would like to understand how to create different areas into a Drupal theme, what I mean is that I would like to create something similar to http://adrenalinehub.com/ or http://digett.com/, or http://fabsugar.com/ where I have a different "style" for each area I visit (Home, My Home, Images, Videos, People, Content, Partner).

Pages

Subscribe with RSS Subscribe to RSS - Theme development