I have some problems understanding a thing in Drupal template system.
I've been able to customize the frontpage in this way:
- I created a new homepage aliased "homepage" with the panels module.
- I modified the default homepage in /admin/settings/site-information
- I've been able to customize the page listing view by duplicating page.tpl.php into page-homepage.tpl.php
(in this way I've been able to delete the breadcrumbs, to modify the padding, delete the H2 title, etc. etc)
I'm not able to customize the nodes being listed in the new homepage though!
I would like the title to display inside .content class DIV, but I'm not able to reference the nodes properly!
I tried creating node-homepage.tpl.php, but the things I modify in this file simply won't appear...
What am I missing? Where am I wrong? Can someone help me on the matter?
Thank you.
Comments
You can create an individual
You can create an individual node design according to an content type. Therefore you call the file something like:
node-content_type_name.tpl.php.
I would like no custom content_type
Thanks for your reply slovan_mooney.
I would like though the nodes to appear differently when listed in homepage, not when inserted as a special content_type.
I'm promoting items to homepage, but I would like them to show normally when visited by using the navigation links or in detail page view.
It shoud be possible to make a node-homepage.tpl.php template file!
I just can't figure how to name this file in order for it to layout elements in frontpage.
e.