Received the following feature request via email:

Can you allow PHP in front page?

Comments

Dublin Drupaller’s picture

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.

Dublin Drupaller’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » Dublin Drupaller

Have 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

Alaska’s picture

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.

Dublin Drupaller’s picture

what are sessions Alaska?

Not too sure what you're talking about....can you explain?

cheers

Dub

Anonymous’s picture

Alaska’s picture

Category: feature » support
Priority: Normal » Minor

See node 17286 and 17286.

Thanks,

Jim