Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Contact plugin 0.7.4

Email contact page.


How to install plugin

  1. Download and install Datenstrom Yellow.
  2. Download plugin. If you are using Safari, right click and select 'Download file as'.
  3. Copy contact.zip into your system/plugins folder.

To uninstall delete the plugin files.

How to use a contact page

The contact page is available on your website as http://website/contact/. The contact email is send to the webmaster, which is defined in file system/config/config.ini. You can set a different Author and Email in the settings at the top of a page. To show a contact form add a [contact] shortcut with an optional location. You can also add a link to the contact page somewhere on your website. See example below.

How to configure a contact page

The following settings can be configured in file system/config/config.ini:

Author = name of the webmaster
Email = email of the webmaster
ContactLocation = contact page location
ContactSpamFilter = spam filter as regular expression


Adding a contact form:

[contact /en/contact/]
[contact /de/contact/]

Content file with contact form:

Title: Example page
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut 
labore et dolore magna pizza. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris 
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt 
in culpa qui officia deserunt mollit anim id est laborum.


Footer snippet with contact page:

<div class="footer" role="contentinfo">
<div class="siteinfo">
<a href="<?php echo $yellow->page->base."/" ?>">&copy; 2018 <?php echo $yellow->page->getHtml("sitename") ?></a>.
<a href="<?php echo $yellow->page->base."/contact/" ?>">Contact</a>.
<a href="<?php echo $yellow->text->get("yellowUrl") ?>">Made with Datenstrom Yellow</a>.
<?php echo $yellow->page->getExtra("footer") ?>


Datenstrom. Get support.