Custom pages
krymp - July 6, 2009 - 01:07
I would like to make some custom pages because the layouts change from page to page. I see that you can have a different home page by using page-front.tpl.php.
I have a detail and landing page that I would like to make custom pages for. How can I do this? Also I saw that there is a module called custompages (http://drupal.org/project/custompage) , is that something worth exploring?
Thanks

Drupal determines which
Drupal determines which template to use with template suggestion. With a phptemplate function override, you can suggest which templates Drupal should look for. Node data (id, status, etc) and other information can be used to suggest different templates to Drupal. You can learn more about this here: http://drupal.org/node/223440
No that's not what I was
No that's not what I was looking for. That way seems overwhelming and complicating for a newby like me.
I am used to making individual pages like when using simple xhtml /css. I think I found the answer to my own question. All I needed to do was make a file called "page-landing.tpl.php" , "page-detail.tpl.php" or whatever custom page this way. Then using views refer to that page in "Views" and linking my menu to those pages to display the content.
Does this sound correct?
What you are describing is
What you are describing is template suggestion. I do not know what the default settings for template suggestion in Drupal are, but if that works, then yes, it can be done that way.
_
Yep, that should work.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.