How to override the standard collectedinfo/form.tpl

Author Message

Norman Leutner

Friday 13 January 2006 12:02:22 am

I got a popup contact form in one of my projects.

I've set a diffent viemode within the form:

 <form method="post" action={"content/action"|ezurl}>
...
<input type="hidden" name="ViewMode" value="popup" />
...
</form>

After sending the request, the page is redirected to the same node....
Now I need a page like "Thanks for your request"

I tried to override the standard content/collectedinfo/form.tpl template without success.

overrride.ini.append.php:

[feedback_haendlerkontakt]
Source=content/collectedinfo/form.tpl
MatchFile=content/collectedinfo/haendlerfeedback.tpl
Match[viewmode]=popup
Subdir=templates

It seems like the content/collectedinfo/form.tpl is not used with the [viewmode]=popup

Because I'm passing some variables to the contact form (receiver, subject, ...) I strongly need that override.

Can anyone give me a suggestion how to create that override template?

Thanks in advance

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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