Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
If you want to use PHP code in your drupal site front page(s) or splash page(s) we recommend you use the Redirect option and create a custom page with PHP code. Front Page is not setup to automatically filter and output PHP.
Will add that feature into the things to do list for Front Page.
Worth noting that there is a module caleld sections.module that ais worth looking at. It allows you to select a different theme for different sections/areas of your site.
Gave Sessions a try and it does work for static pages. If you select node/3 as an example a new theme is assisted to that page. However Sessions, at least in my test, was not able to attach itself to other non specified nodes.
As an example, you have created a page on node 8. If you allow comments on that page Sessions will not follow that new node with its theme. i.e. the comments will revert back to your default theme.
Comments
Comment #1
Dublin Drupaller commentedIf you want to use PHP code in your drupal site front page(s) or splash page(s) we recommend you use the Redirect option and create a custom page with PHP code. Front Page is not setup to automatically filter and output PHP.
Will add that feature into the things to do list for Front Page.
Worth noting that there is a module caleld sections.module that ais worth looking at. It allows you to select a different theme for different sections/areas of your site.
Comment #2
Dublin Drupaller commentedHave updated the front_page.module with a patch (thanks Scott!) that adds an extra ALLOW PHP checkbox to the front_page settings screen.
Click through to the Front Module Project to download the latest version or click here
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/front/
Cheers
Dub
Comment #3
Alaska commentedGave Sessions a try and it does work for static pages. If you select node/3 as an example a new theme is assisted to that page. However Sessions, at least in my test, was not able to attach itself to other non specified nodes.
As an example, you have created a page on node 8. If you allow comments on that page Sessions will not follow that new node with its theme. i.e. the comments will revert back to your default theme.
Comment #4
Dublin Drupaller commentedwhat are sessions Alaska?
Not too sure what you're talking about....can you explain?
cheers
Dub
Comment #5
(not verified) commentedComment #6
Alaska commentedSee node 17286 and 17286.
Thanks,
Jim