I created a page-front.tpl.php and for some reason my theme is still only using page.tpl.php

What i'm trying to do is create content that will only show up on the home-page (a block).

But I still want on the theming from page.tpl.php to show up but I want the page-front.tpl.php content to show up inside of the

div class="maincontent" area

Comments

silverwing’s picture

In D7 it's page--front.tpl.php (two dashes).

Jordash’s picture

Ok, that's interesting, I wonder why they changed it.

Also so I only want the content inside of a specific div to change, but I don't want anything else about the theme to change, is that possible?

What would the filename be for an article content type?

Thanks

silverwing’s picture

I haven't started a theme in D7 yet (but soon!) so I'm still not sure what's necessary for advanced theme creations. But here are the D7 template suggestions in the handbook http://drupal.org/node/1089656 (that section should help)

You can make a block unique to a particular page from the block admin page.

~silverwing