mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2025-04-03 12:51:34 +02:00
add template modification section
This commit is contained in:
parent
013dc802dc
commit
d2db4c010c
21
README.md
21
README.md
@ -19,7 +19,7 @@ request (e.g. send contact mail to shop administrator) or refuse and show an err
|
||||
|
||||
Please proceed with one of the following ways to install the module:
|
||||
|
||||
### Module installation via composer
|
||||
### Module installation
|
||||
|
||||
In order to install the module via composer, run the following commands in commandline of your shop base directory
|
||||
(where the shop's composer.json file resides).
|
||||
@ -28,17 +28,24 @@ In order to install the module via composer, run the following commands in comma
|
||||
composer require oxid-projects/captcha-module
|
||||
```
|
||||
|
||||
### Module installation via repository cloning
|
||||
### Adjustments of shop theme
|
||||
|
||||
Depending of the installed theme, required tpl blocks may be missing. Please add the missing blocks (as described in metadata.php) to the shop theme templates.
|
||||
|
||||
Exceptions:
|
||||
`tpl/form/fieldset/user_billing.tpl` - wrap block with this condition:
|
||||
|
||||
Clone the module to your OXID eShop **modules/oe/** directory:
|
||||
```
|
||||
git clone https://github.com/OXIDprojects/captcha-module.git captcha
|
||||
[{if $blIsRegister == true}]
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
[{/if}]
|
||||
```
|
||||
|
||||
### Module installation from zip package
|
||||
`tpl/form/register.tpl` - insert the variable to the include command:
|
||||
|
||||
* Make a new folder "captcha" in the **modules/oe/ directory** of your shop installation.
|
||||
* Download the https://github.com/OXIDprojects/captcha-module/archive/master.zip file and unpack it into the created folder.
|
||||
```
|
||||
[{include file="form/fieldset/user_billing.tpl" blIsRegister=true}]
|
||||
```
|
||||
|
||||
## Activate Module
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user