This forum is for assistance with theme development.

taxonomy theme plug in problem

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.

Passing Objects to Templates?

Hi,
after all I'm slowly getting an idea of the PHPTemplate thing (I hope) - thanks to this community!
But there are a few questions left:

My Block for a "latest stories thing":

stuck getting theme override to work on multiple teasers

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:

  1. I created a bunch of products out of image nodes using the ecommerce module
  2. 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
  3. I want to apply a "buy now" link to the teaser and make additional changes as well
  4. In template.php, I added an override:
    function phptemplate_node_product($node, $teaser = 0, $page = 0) {
    	require_once('overrides/theme_node_product.php');
    	return $node;
    }
    
  5. 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.)
  6. The product's price is only displayed for the first node.

I don't know where it's going wrong.

Control Panel?

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?

Thanks,
Mike of Sighing Sage

Remove Right Sidebar from all pages but Front Page

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.

Thanks!

mollio theme

check out this exellent theme from http://www.mollio.org/
can someone port it to drupal?

Pages

Subscribe with RSS Subscribe to RSS - Theme development