You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Daniel Seifert fc2c9a65be
adjust version informations
1 month ago
Application add custom url redirect for individual implementations 6 months ago
Modules add custom url redirect for individual implementations 6 months ago
.gitignore dont copy .neon file to source directory 6 months ago
.php-cs-fixer.php add custom url redirect for individual implementations 6 months ago
CHANGELOG.md adjust version informations 1 month ago
IntelliSenseHelper.php add PHP CS Fixer dependency 6 months ago
LICENSE.md initial 6 months ago
README.en.md adjust documentation 6 months ago
README.md adjust documentation 6 months ago
composer.json make installable in OXID 6.5.1 (CE 6.13) 1 month ago
metadata.php adjust version informations 1 month ago
phpstan.neon make oxNew discoverable for phpstan 6 months ago

README.en.md

deutsche Version english version

D³ PRG Redirects for OXID eShop

For forms sent via the FORM method, the browser's back function can only be used after the form has been resent. Depending on the browser, prompts will be shown. The additional sending can trigger unwanted actions.

By applying an additional GET request to the source address, the additional sending is prevented at the first "back". (see Wikipedia)

Installation

This package requires an Composer installed OXID eShop as defined in composer.json.

Open a command line interface and navigate to the shop root directory (parent of source and vendor). Execute the following command. Adapt the paths to your environment.

php composer require d3/prg-redirects:^1.0

Activate the module in the admin area of the shop in "Extensions -> Modules".

Usage

In the "Settings" tab, activate all controllers that are to use this additional redirection.

Extensibility

In principle, every controller can be equipped with this technology. If a controller is missing, it is welcome to add it. Note the handling of special cases, e.g. if the sending of the form was not successful and forwarding would interfere with error handling.

Changelog

See CHANGELOG for further informations.

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

Licence

(status: 2022-07-25)

Distributed under the GPLv3 license.

Copyright (c) D3 Data Development (Inh. Thomas Dartsch)

This software is distributed under the GNU GENERAL PUBLIC LICENSE version 3.

For full copyright and licensing information, please see the LICENSE file distributed with this source code.