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..
First you need to create plugin configuration in any storage folder, then attach needed contact options.
- add git@gitlab.com:raccoondepot/rd_contact_plugin.git to repositories in your composer.json file
- add "raccoondepot/rd-contact-plugin" in require section in your composer.json file
- composer update raccoondepot/rd-contact-plugin
- make sure rd_contact_plugin enabled in Extension Manager
- add TS static includes
- create new plugin configuration under any storage folder and add needed contact options
- clear cache
Plugin can be configured by TypoScript constants. They can be found under plugin.tx_rdcontactplugin.settings Here is the list of all available options:
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 |
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
In case of any issue please inform us by depot@raccoondepot.com
In future we plan to bring more contact options.