Jump to content

page template based on alias in Drupal 7.14


dzigner

Recommended Posts

Hi

I have the main menu as nice menu and the links are: home, services, solutions. Under services and solutions, there will be submenu items. I want to have different page templates for each section, for example:

  • home page will have page--front.tpl.php
  • services should have page--services.tpl.php, and all submenu pages should follow this template.
  • solutions should have page--solutions.tpl.php and all submenu pages should follow this template.
  • all other menu items should follow page.tpl.php template.

 

I tried the alias_suggestion module from http://groups.drupal.org/node/130944, and some code from http://drupal.org/node/117491, but both of them did not work for me.

Please help.

thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.