项目作者: julienloizelet

项目描述 :
Okaeli_ComingSoon is a Magento 1 extension that redirects all pages to a specific one.
高级语言: PHP
项目地址: git://github.com/julienloizelet/magento1-comingsoon.git
创建时间: 2017-01-04T14:44:13Z
项目社区:https://github.com/julienloizelet/magento1-comingsoon

开源协议:GNU General Public License v3.0

下载


Okaeli_ComingSoon


  1. @category Okaeli
  2. @package Okaeli_ComingSoon
  3. @author Julien Loizelet <julienloizelet@okaeli.com>
  4. @copyright Copyright (c) 2017 Julien Loizelet
  5. @license GNU GENERAL PUBLIC LICENSE Version 3

Description

Okaeli_ComingSoon is a Magento 1 extension that will redirect any visitor to a specific page.

Installation

Requirements

  • Magento >= 1.6 (probably much earlier, but I didn’t test)

Modman

Run modman link /path/to/your/clone/of/this/repo at root of your Magento Project.

Composer

In your composer.json file, add

  1. {
  2. "type": "vcs",
  3. "url": "https://github.com/julienloizelet/magento1-comingsoon"
  4. }

in the repositories part and

  1. "okaeli/magento1-comingsoon":"dev-master"

in the require part.

Usage

Configurations

This module comes with some configurations : System Config > Okaeli > Okaeli Coming Soon

  • Enable / Disable feature.
  • Choose unredirected IPs
  • Choose unredirected URIs

    You must add /index.php/comingsoon if your setting System Configuration > Web > Search Engines Optimization > Use Web Server Rewrites is No.

  • Specific Redirection (by default, all url are redirected to comingsoon).

  • Enable / Disable debug log.

Okaeli ComingSoon Settings screenshot

Technical Notes

No rewrite. Events driven development.

This extension is 0 rewrite guaranteed. The following event is listened:

  • controller_front_send_response_before : used to redirect all urls to another one.

Coding Standards

This extension has been checked with the Magento Extension Quality Program Coding Standard.
You can find the output of the command phpcs /path/to/Okaeli/ComingSoon/sources --standard=MEQP1 in this file.

Support

If you encounter any problems or bugs, please create an issue on
GitHub.

Contribution

Any contribution is highly welcome. The best possibility to provide any code is to open
a pull request on GitHub.

License

GNU General Public License, version 3 (GPLv3)