I've two different user profile types (lets say: 'seller' and 'customer') and they should look differently conpared to eachother as well as to other content types. The issue is that the profile title (<h1 class="title" id="page-title">My Company Ltd.</h1> should be changed, therefore I think I need a new page.tpl.php for each profile type. After an hour of searching I was unable to find out how I name this page template.
Any advice would be appreciated.


nevets’s picture

How should they be different?

StG’s picture

Uhh, sorry for the belated reply, I had to suspend this project for a few weeks...

Basically I need different page header/title. Here's an example: http://www.calidadrural.es/reposteria/129 This is a profile of a seller and it differs from other node types in its header. Other node types have a page title but this profile page must contain this information panel on the top.
I was unable to find a way to distinguish profile page from other nodes. I know there is profile2.tpl.php template file but it renders the content after the title, therefore I can't manipulate the <h1 class="title" id="page-title">... part of the code.