Deutsche Version English Version
Replacement Tags
Content Parts
Links
Imprint
 


Latest Final Version:

phpwcms 1.3.3
RELEASED: 02.05.2007

more...



New Articles:









 
 

English > The Docu7/30/20077/30/2007 > Articles7/30/2007 > Content Parts7/30/2007 > Email form generator[OLD] > Custom Redirection


Custom Redirection

email_redir1.png
Fig. 1 Click to enlarge
As you have read in the tutorial for the e-mail content part you can create your own redirection to individual success and error pages. 

The example in the tutorial was:

IH|redirect|0||10,100|http://www.apple.com|0
IH|redirect_error|0||10,100|http://www.microsoft.com|0
 





To create your own redirection, read the following steps.


Create an new structure level, name it e.g. hidden, set this structure level to hidden, visible and public. This level needs no alias. (see Fig.1)

In this strukture level you now create 2 new levels, the first one you call success, the second one error. Here you should also define aliases e.g. success and error. Also set them to hidden, visible and public.

Now your stucture levels for this area should be looking like this:



Now go to the article section and create an article in each of you newly created structure levels: success and error.

The article for the success page could look like this:

Your mail was successfully sent. We will answer you as soon as possible.


The article for an error page might look like this:

Sorry, we could not find your entries in all required fields. All fields marked with a are required!


In the editing mode your article might look like this:

Sorry, we could not find your entries in all required fields. All fields marked with a {IMAGE:../img/article/fill_in_here.gif} are required!
[BACK]{IMAGE:back_link_.engif}[/BACK]


Please return to your E-mail form and edit the 2 lines as shown below. 

These both lines should look like this:

IH|redirect|0||10,100|http://www.your_domain.com/index.php?success|0
IH|redirect_error|0||10,100|http://www.your_domain.com/index.php?error|0



Article created: 2004/08/27 Wong It! DiggIt! Del.icio.us TechnoratiFaves Spurl! Furl It Save to Yahoo! My Web Google Bookmark Last Changes: 2005/05/29
 
In case you find any mistakes or have enhancments, please use this form .

Have you found this website a helpful resource in understanding the Phpwcms content management system? If so, would you consider making a donation? Please click here: PayPal. We welcome any donation amount. Your contribution helps make this website an even better resource and helps underwrite the associated server expenses of accomodating a growing number of visitors.
This page use the version: