Contact us - which template(s) to override?

Author Message

Trond Hjelmaas

Sunday 16 January 2005 1:21:31 pm

Hi,

I have generated a site from the "plain" template. I included "Contact us" option and would like to use that code.

My initial problem is that I cannot find out what template is used to display the "Collected Information" page (displayed after filling out "contact us" details and pressing send-button).

I am a beginner and find it timeconsuming to get my head on top of <i>which template is used when</i>. I found the override in the node/view/full for the "feedback_form_full.tpl" but I don't know what template to override to change the text and fields in "Collected INformation" page.

<b>Question 1 </b>- Does anyone know about a good tutorial (or something) that makes sense describing how to find out what templates are used at what time? Or just tell me here :)

<b>Question 2 </b>- Can someone tell me what template to override to define my own "Collected information" page? And preferably tell give me a hint of how?

Help much appreciated!

Best regards, Trond

Kristian Hole

Monday 17 January 2005 8:58:37 am

To discover which template eZ publish uses. Enable debugging in settings/override/site.ini.append.php and add the following:

[DebugSettings]
Debug=enabled

[TemplateSettings]
Debug=enabled
ShowXHTMLCode=enabled <-- disable this to get the info as html comments

Rembemer to clear the cache.

This is also good when developing:
http://ez.no/community/forum/setup_design/template_caching_problems/re_template_caching_problems__4

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.