Posted by kingqueenyun on February 23, 2011 at 4:13am
Different templates depending on URL aliases in drupal7?
visiting url:mysite.com/login,loading template not page.tpl.php,but is login.tpl.php.
How to implement above function?
some code $variables['template_files'][]...in drupal 6 can solve this problem,Why this method won't work in drupal 7?
Comments
You should use
You should use [theme_hook_suggestions][]
http://drupal.org/node/223440#comment-4114366
-Natalie
Friendlydrupal.com - Drupal Video Tutorials
oh,thanks very much!
oh,thanks very much!