Closed (fixed)
Project:
ThemeKey
Version:
6.x-4.x-dev
Component:
Installation / Configuration
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 21:38 UTC
Updated:
31 Oct 2013 at 09:19 UTC
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
Comment #1
mkalkbrennerlooks like invalid php code in your node.tpl.php
Comment #2
mkalkbrennerno feedback => close