/rd-contact-plugin

raccoondepot/rd-contact-plugin - is an extension built for TYPO3 CMS 9+ which displays on your website simple contact button (you can choose the position), and by click on it user see different contact options. Plugin is very flexible thus you can configure contact options exactly for your needs! Also you can create particular contact option which by choosing it will open modal window and there you can insert any content element you would like, e.g contact form :)

Primary LanguagePHP

RD Contact form plugin

RD Contact Plugin is an extension developed by Raccoon Depot team to be used in TYPO3 CMS 9+ or higher. This plugin includes simple contact button on each website page, and provides different ways for communication between website visitors and website owner.
An extension is flexible, so you could configure it as you wish. There are implemented very flexible restrictions where you can manipulate contact options dynamically based on that restrictions
Also we developed custom TS condition which can be used to run different configurations depends on HTTP_REFERER header. How HTTP_REFERER could help you in business, you can read here: https://www.lifewire.com/how-to-use-http-referer-3471200#mntl-sc-block_1-0-33. To see all available options/configurations and how to start read further..

Contact Options

First you need to create plugin configuration in any storage folder, then attach needed contact options.

How to install

  1. add git@gitlab.com:raccoondepot/rd_contact_plugin.git to repositories in your composer.json file
  2. add "raccoondepot/rd-contact-plugin" in require section in your composer.json file
  3. composer update raccoondepot/rd-contact-plugin
  4. make sure rd_contact_plugin enabled in Extension Manager
  5. add TS static includes
  6. create new plugin configuration under any storage folder and add needed contact options
  7. clear cache

How to configure

Contact options

Typoscript variables

Plugin can be configured by TypoScript constants. They can be found under plugin.tx_rdcontactplugin.settings Here is the list of all available options:

Main

Variable Description Default Possible values
enabled Is the whole plugin enabled? 1 1/0
position How to place contact button on the page? bottom_right bottom_left / top_left / top_right / bottom_right

Typoscript conditions

We have developed custom typoscript condition which you can use to have different contact plugin configuration depending on where website visitor came from. How such options could help you in business? here is an article: https://www.lifewire.com/how-to-use-http-referer-3471200#mntl-sc-block_1-0-33

Example Description
[RaccoonDepot\RdContactPlugin\Condition\HttpReferer = http://www.url.com/2/smth/] # some new config here... [global] TRUE - if page URL where visitor came from == 'http://www.url.com/2/smth/'
[RaccoonDepot\RdContactPlugin\Condition\HttpReferer % url.com/2] # some new config here... [global] TRUE - if page URL where visitor came from contains substring 'url.com/2'
[RaccoonDepot\RdContactPlugin\Condition\HttpReferer % url.com/2, % url.com/4] # some new config here... [global] TRUE - if page URL where visitor came from contains substring 'url.com/2' OR contains substring 'url.com/4'

Also do not forget about another TYPO3 TS conditions: https://docs.typo3.org/typo3cms/TyposcriptReference/7.6/Conditions/Reference/Index.html

Known issues

In case of any issue please inform us by depot@raccoondepot.com

Future improvements

In future we plan to bring more contact options.

Authors


Raccoon Depot
depot@raccoondepot.com
Rostyslav Matviyiv, Yaroslav Trach, Andrii Pozdieiev