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.
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?
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).
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?
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).