Download the PHP package thinkshout/bene_promo_redirect without Composer

On this page you can find all versions of the php package thinkshout/bene_promo_redirect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bene_promo_redirect

Bene Promo Redirect

A Bene Feature module.

Description

The Bene Promo Redirect tool is a intended for special, short-term campaigns such as end-of-year giving pushes, to redirect site visitors to a specific page or external site when they visit your website. It uses no cookies, and instead decides whether or not to redirect users based on how they arrived at your site: if they arrived from the promoted page that you redirect them to, for example, it will not redirect them again. Similarly, if they are already on your site and click an internal link, it will not redirect them because they are coming from inside your site.

The Promo Redirect tool supports redirecting from any number of specified pages, but never allows redirects from admin pages or from "user" pages, such as the login page. The most common usage is to redirect only the homepage, which is specified by adding "/" in the configuration screen.

Strategic Use

Bene Promo Redirect should be used sparingly, for moments when you want all of your interested constituents to receive exactly one message: something important needs their attention right now. Over-using this behavior may wear on your constituents, and make its usage less impactful.

Think of this feature as a loudhorn: useful but also mildly annoying! People will listen to an important announcement on a loudhorn, but not more.

How To

To configure the Promo Redirect feature, log in as a user with the "Configure Bene Feature" permission (this is usually associated with the Staff Admin role). Go to Configure -> Bene Features and find Promo Redirect. If necessary, click Enable to enable it, then you can click Configure. (Note: when you are done with your promotional period, you can come back here and Disable the Promo Redirect feature until the next time you need it.)

On the configuration screen, complete the desired fields. To redirect your home page, put "/" as one of the redirect pages.

Be sure to visit your redirect "Destination" page and verify that any links on that page that go back to your website use the exact "protocol" and "domain" that appear when you are on your site. For example, if your site loads with "https://", make sure your page doesn't link using "http://". The same is true for including "www." before your domain: make sure they match. A mismatch breaks the feature's ability to identify where people are coming from and make an appropriate decision about redirecting them.


All versions of bene_promo_redirect with dependencies

PHP Build Version
Package Version
Requires thinkshout/bene_features Version ^1.0@beta
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thinkshout/bene_promo_redirect contains the following files

Loading the files please wait ....