Hi,
Can I set different theme for front page only?
I typed in path and specify the theme,
but when I cleared cache it doesn't change,even when I log out its still the same.
Please Advise.
Thank you very much
Hi,
Can I set different theme for front page only?
I typed in path and specify the theme,
but when I cleared cache it doesn't change,even when I log out its still the same.
Please Advise.
Thank you very much
Comments
Comment #1
rightchoice2c_me commentedhow you type the path?
it should be relative path like node for front page if you set in site information front page as node.
Comment #2
profix898 commentedComment #3
intuited commentedHi,
I understand how to set the theme for the front page by setting that theme for the node that is used for the front page. However I would like to be able to use a different theme depending on whether that node has been accessed by a) clicking on the site title or going to the root path (with no q= argument) or b) accessing the node itself, either through the node/# path, an alias path, or through the primary links menu (which obviously uses one of two other paths). So basically if the user has the impression that they are navigating to the root of the site they see one theme; if they have the impression that they are navigating within the site, they see another.
This strikes me as sort of tricky but could maybe be done if the referring page property was exposed to ThemeKey?
Comment #4
intuited commentedComment #5
mkalkbrennerUse property
drupal:is_front_pageprovided by module ThemeKey Properties.