Contao Open Source CMS > Enhance > Extension list > [inserttag-websiteadmin_email] Mailto website administrator via Insert Tag 11.3.4 stable

Extensions > inserttag-websiteadmin_email

[inserttag-websiteadmin_email] Mailto website administrator via Insert Tag

Embed a mailto link for the current website's administrator via Insert Tag alias. Intended for use with multi-site CMS installs.

Intended for use with multi-site CMS installations; this extension can be used to add an encoded mailto link for the current website's administrator, with optional email subject line, to page content.

Aliases:

  1. {{websiteadmin_email}} generates a linked and encoded mailto the site root administrator. Functionally, this alias is similar to {{email::*}} which is part of Contao's core.
  2. {{websiteadmin_email::_subject_}} generates a linked mailto, as above, and also appends a subject line to give the email context.
  3. {{websiteadmin_emailhref}} generates only the href URL portion of the mailto link for use in situations where the linked text must be something other than the email address itself. This alias must be manually embedded in an tag.
  4. {{websiteadmin_emailhref::_subject_}} generates only the href URL portion, as above, but includes a subject to provide message context.

Where the _subject_ attribute is applied, the following keywords can be used to dynamically insert the website root, main, parent or page title or name into the subject line: website_title, main_title, main_page, parent_title, parent_page, page_title, page_name

Examples:

 

{{websiteadmin_email}}
     <a href="mailto:_encoded_siteadmin_email_">_encoded_siteadmin_email_</a>

<a href="mailto:{{websiteadmin_emailhref::Feedback ~ website_title}}">Contact Webmaster</a>
     <a href="mailto:_encoded_siteadmin_email_?subject=Feedback%20~%20_website_title_">Contact Webmaster</a>

Version11.3.4 stableTypeFree
Release date2011-03-04CategoryUtility
LicenseLGPL
Copyright© 2011 Vincent Grovestine
AuthorVincent Grovestine (vincent) http://vincent.grovestine.com
Release notes and change log for 11.3.4 stableOther versions
11.3.4 beta1
Release downloads11Total downloads11
Release installs19Total installs19
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.9.1 stable2.9.3 stable
NameVersion fromVersion to
PackageSizeDate
Contao_inserttag-websiteadmin_email_110030049_9.zip41382011-08-11 17:09