Using ThemeKey to switch to a different theme based upon incoming URL

I have a site www.example.com that uses my default theme. I created a new theme and set theme key to switch to that theme when someone goes to products.example.com.

My Theme switching rule change is:

system:host = products.example.com new theme name

When I type products.example.com in the browser URL bar I get the following error:
Parse error: syntax error, unexpected T_ELSE in /home/example/public_html/sites/all/themes/newtheme/node.tpl.php

All other standard Drupal themes switch fine. Is there something I'm missing in the node.tpl.php of my new custom theme?

Any help would be greatly appreciated.

Thx

Comments

mkalkbrenner’s picture

looks like invalid php code in your node.tpl.php

mkalkbrenner’s picture

Status: Active » Closed (fixed)

no feedback => close