Hi,
The link http://drupal.org/node/46017 which is in readme.txt file does not seem to work as it says access denied.

Hope someone can fix this.

Cheers,
vishal

Comments

timhilliard’s picture

Status: Active » Postponed (maintainer needs more info)

Hi Vishal, this page is legacy an old version of Front Page and I have now removed it from the README.txt and committed to dev so that it doesn't confuse anyone anymore. I have also updated the README.txt so that it is relevant to the new 7.x-2.x features and hopefully is more clear about how to use the module. Is there something in particular I can help you with?

Tim

vishalkhialani’s picture

Hi Tim,
Thank you for the update.

Yes, I want to theme the front page using a php file just as we do it in page.tpl.php is there a way I can them a file like front-page.tpl.php or something like that ?

Cheers,
Vishal

timhilliard’s picture

Status: Postponed (maintainer needs more info) » Needs review

Hi Vishal,

If you are looking to only style the front page differently rather than show a different one for each role then I would suggest you simply create a page-front.tpl.php file in your theme. This will override the page.tpl.php file for the front page automatically.

If you are however looking to style a page that is defined for some roles then I would suggest using Alias. What you would do is create a node, most likely of type page. Then in you front page definintion for the role choose Alias and set the path to the node you just created. To then override the theme for just this page create a page--node--xx.tpl.php file in your theme where xx is the node number.

Hope that helps,
Tim

vishalkhialani’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.x-dev

Hi Tim,
Thank you for your suggestions. page-front.tpl.php does not seem to work in drupal 7 I need to put a patch and get it done.

I managed to get your module to work but the html content appears twice in page for some reason. I also upgraded to version 7.x-2. Wud you know why this might happen ?

Cheers,
Vishal

timhilliard’s picture

Vishal when you add a new template to your theme you also need to flush the theme cache. This may be why you haven't seen the changes yet?

Are you using devel and admin_menu modules?

vishalkhialani’s picture

Hi,
yes, that solved the problem. thank you :)

cheers,
vishal

timhilliard’s picture

Status: Needs review » Closed (works as designed)

Cool,

Closing