TypoScript Constants

You can now use TypoScript constants to setup the Double OptIn Download extension.

Open the Template module again and switch to the page where your root template is located. Select the Constant Editor view. On this page select DOUBLE_OPTIN_DOWNLOAD in the drop down box under the Kategorie (category) heading.

TypoScript- Konstanten im Root-Template bearbeiten

Enter the page IDs for the data container and the download page in the constant fields.

TypoScript-Konstanten: IDs für Seite und Datensätze

Available constants:

Konstantethemes.configuration.container.double_optin_downloads
Kategorie:container, double_optin_download, basic
Abschnitt:Double Opt-In download Container
Beschreibung:Specifies the container for the double opt-in download data records
Konstantethemes.configuration.pages.double_optin_download.download
Kategorie:pages, double_optin_download, basic
Abschnitt:Double opt-in download Pages
Beschreibung:Specifies the page Uid of the download list

You can also override the template paths using the following constants:

themes.configuration.extension.double_optin_download.view.templateRootPath = EXT:projectstarter/Resources/Private/Extensions/DoubleOptinDownload/Templates/
themes.configuration.extension.double_optin_download.view.partialRootPath = EXT:projectstarter/Resources/Private/Extensions/DoubleOptinDownload/Partials/
themes.configuration.extension.double_optin_download.view.layoutRootPath = EXT:projectstarter/Resources/Private/Extensions/DoubleOptinDownload/Layouts/