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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.