Need support for .tpl layer

wildkatana - February 28, 2009 - 00:52
Project:Contact Forms
Version:6.x-1.5
Component:Miscellaneous
Category:feature request
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hello, first of all let me thank you for this great module, it makes life easier for many people. That being said, I think that this module would benefit greatly from integrating the theming layer. The original contact module used page-contact.tpl.php . This module seems to break that functionality (I know it's not technically breaking it, just overriding it) but this seems like a step backwards in that respect.
What's more, I can see the possibility of making tpl file for each category, something like page-contact-category.tpl.php

Any chance we could see this? I was going to use this module for a project for a client, but now I think I'll have to stick to Webforms or some other solution so that I can have full control over the theming layer.

Sincerely,
Leighton Whiting

#1

behindthepage - February 28, 2009 - 06:45

Hi Leighton,

My initial reaction is themeing via page-contact.tpl.php should work if you add the extra fields that contact_forms add because I am just using hook_form_alter to alter that form. However I have never tried it and often things that should work, don't. Obviously you have tried it without success.

Could you post your page-contact.tpl.php effort here so I can see what you have done please.
I will have a play and see what gives.

Regards
Geoff

#2

behindthepage - October 2, 2009 - 19:59
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.