Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
i have created branches in the site , where each branch should have their own stylesheet,
the main site has allready been implemented .
i have modified the theme chameleon.(main theme)
the problem is that this main theme stylesheet is also beeing called when i go to one of the branche site.
I'm having trouble with a theme override and could use some help. When I create an override using phptemplate (v4.7rc1), the theme is only applied to the first of many node teasers, and I didn't modify a line of the theme function's original code. When left alone, internal to the module, all node teasers are themed.
Details:
I created a bunch of products out of image nodes using the ecommerce module
product.module uses a theme function theme_node_product to display the price associated with each node. When viewing teasers for multiple nodes on a single page, price is shown for each one
I want to apply a "buy now" link to the teaser and make additional changes as well
Then, I copied the contents of function theme_node_product from product.module into "theme_node_product.php". (Not copying the function header or closing brace.)
The product's price is only displayed for the first node.
I am using Control Panel (awesome module, btw!) and LoginTobbogan (yet again, awesome!). My problem is, the logintoboggan entry is not showing up in Control Panel, as other custom modules are. Does anyone know how or why this happens?
I am looking for a way to disable the right sidebar when I visit any other page but the front page. I have a poll in the right sidebar and only want it to appear on the front page in the right sidebar.