Download the PHP package liquidlight/typo3-call-to-actions without Composer

On this page you can find all versions of the php package liquidlight/typo3-call-to-actions. 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 typo3-call-to-actions

Call to Actions

Note: This readme is very much in draft and needs to be written properly

The Call to Actions extension allows you to have shared Call to Action/Promo boxes which are then displayed throughout the site. It gives editors and integrators a single place to add, edit and update website Call to Actions (CTAs).

CTAs can be shared between multi-site instances and can be customised with different types and themes, along with having styled buttons and images

To Do

Installation

Install via the TYPO3 Extension Repository or composer:

Create a SysFolder (called "Call to Actions" or similar) and create a new "Call to Action" record inside

Hint: If you only want Call to Actions to be made in this SysFolder, edit the page and add the following to the Page TSconfig [TSconfig] field

Once the Call to Action record is made, navigate to the page you wish to add it and create a new content element

Plugins -> Call to Actions

Using the Items browser, select the Call to Action you wish to display

Note: The whole page tree is displayed as Call to Action records can be created anywhere

Customisation

Templates

If you wish to override the Templates or Partials, add the following to your constants (replacing site_package with the name of your custom site package extension)

From create a files which are the same names as the originals

You may also wish to overwrite the Button, Image or Details partial too - which can be found in the Partials folder

Types & Themes

If you wish to change or add to the Theme and Types dropdowns, you can do this via Typoscript

Add the following to setup

The numbers are indexes - if you wish to replace one use the same index, however if you only want to add then you can include just that one with an incremental number

title is what is shown in the drop down, while value is what is output in the template.

e.g.

Relating to records

Note: Experience in overriding TCAs is required for this

If you want to add Call to Actions on a specific record, such as News or any other custom record type, you will need to override the TCA.

In the example below, a field is added after the bodytext on the tt_news table

Next, add the field to the ext_tables.sql file in your site_package

Update the database schema to add the new field.

To render the promos in your template will depend on how your record is rendered - an example snippet of PHP to do this is:


All versions of typo3-call-to-actions with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^11.5
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 liquidlight/typo3-call-to-actions contains the following files

Loading the files please wait ....