Customizing the "template finished" page

After the user has filled out the Genesis:UserInput form, and submitted the changes, he will see a page like this:

Your <a href="$s1">template web site</a> is complete.
Click here to continue editing the <a href="$s1">$s2</a> template.

This text is pulled from the strings.txt files (found in the language folders under genesis/script_data/templates). If you want to make basic changes, you can simply edit the appropriate strings.

In some cases, you may need to customize this final message to a greater degree, and you may need to customize it on a template-by-template basis. To do so, edit your template file and create a new section labeled Genesis:Finish, i.e.:

<Genesis:Finish>
Your <a href="%genesis_template_url%">template web site</a> is complete.
Click here to continue editing the
<a href="%genesis_edit_url%">%genesis_template_name%</a> template.
</Genesis:Finish>

Four special variables are available for use within this optional Genesis:Finish block. They are:

NameDescription and Example
genesis_template_url

The full URL to the first document created by the template.

http://mysite.tld/web_pages/bob/a1.html

genesis_template_name

The human-readable name of the template.

My Example Site

genesis_edit_url

The full URL that is used to continue editing this template.

http://mysite.tld/genesis/index.pl?Action=BT&Template=My_Example_Site.template

genesis_admin_url

The full URL the main Genesis page. This can be used by itself to link to the home page, or can be used as a starting string to link to other specific actions.

Always use this variable string rather than hardcoding the admin URL. Visitors who have cookies disabled will access the system using an auth token within the query string of the admin_url. The only way you can preserve the visitor's session is to use the variable link instead of the hardcoded link, since only the variable will include token information.

http://mysite.tld/genesis/index.pl?

An example of when this is needed is when you have a variety of templates which are interconnected. After editing the first template, you want your visitors to proceed directly to the next interconnected template. Another example would be to link to a separate system which allows the user to add his new web page to a system-wide directory.

An example of directing the user to an interconnected template would be:

<Genesis:Finish>
Your <a href="%genesis_template_url%">%genesis_template_name%</a> template is complete.
Remember, you can enhance this template by filling out the
<a href="%genesis_admin_url%Action=BT&amp;Template=Stylesheet.template">
Stylesheet</a> template.
</Genesis:Finish>

History: support for the Genesis:Finish block was added to Genesis version 2.1.0.0025.