Extensions > inserttag-websiteadmin_email

Mailto website administrator via Insert Tag

[inserttag-websiteadmin_email]

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>

Version
11.3.4
Type
Free
Release date
04.03.2011
Category
Utility
License
LGPL
Copyright
© 2011 Vincent Grovestine
Author
Vincent Grovestine (vincent) http://vincent.grovestine.com
Release notes and change log for 11.3.4
Other versions
Release functionality
 
Total functionality
0.00
Release usability
 
Total usability
0.00
Release quality
 
Total quality
0.00
Release rating
 
Total rating
0.00 (0 votes)
Release downloads
15
Total downloads
19
Release installs
23
Total installs
29
Release updates
2
Total updates
8
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.9.1
2.11.17
Name
Version from
Version to
Package
Size
Date