Download the PHP package numero2/contao-tags without Composer

On this page you can find all versions of the php package numero2/contao-tags. 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 contao-tags

Contao Tags

About

Adds the possibility to assign tags to individual elements.

System requirements

Installation & Configuration

News

Events

Insert-Tags

This extensions comes with a couple of Insert-Tags that can be used to link to a page which will only show entries with matching tags.

Insert-Tag Description
{{tag_link::1::foo}} Creates a link URL to the page with ID 1 and the tag foo
{{tag_link::1::foo::bar}} Creates a link URL to the page with ID 1 and the tags foo and bar
{{tag_link::1::foo|absolute}} Creates an absolute link URL to the page with ID 1 and the tag foo
{{tag_link::1::foo|get}} Creates a link URL to the page with ID 1 and the tag foo using GET parameters
{{tag_link::1::foo|absolute|get}} Creates an absolute link URL to the page with ID 1 and the tag foo using GET parameters
{{tags_active}} Creates a list of all active tags seperated by ,, e.g. tag1, tag2, tag3
{{tags_active:: + }} Creates a list of all active tags seperated by the given string +, e.g. tag1 + tag2 + tag3
{{tags_active::, :: and }} Creates a list of all tags seperated by , but the last tag is added with and, e.g. tag1, tag2, tag3 and tag4

A more robust way for the links would be to use the tag's ID instead of its name (which can be changed under System › Tags). So instead of {{tag_link::1::foo}} you could also write {{tag_link::1::69}} (assuming the ID of foo is 69).

For Developers

Integrating a tags field in your own extension

If you want to use the tags for fields in your own Data Containers you can do so by defining the field as follows:

foreignKey, options_callbackand save_callbackare mandatory. In the eval section we add a class called tags - this is also needed for the JavaScript handling. There are some more options which can be defined in eval.

Eval-Options

Option Description
groupTagsByField If set to true the user will only be able to select from a list of tags that have been already used on this specific field in the current table. If set to falseor not set at all, the user will be able to choose from all tags available.

All versions of contao-tags with dependencies

PHP Build Version
Package Version
Requires contao/core-bundle Version ^4.13 || ^5.0
symfony/console Version ^5.0 || ^6.0
symfony/dependency-injection Version ^5.0 || ^6.0
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 numero2/contao-tags contains the following files

Loading the files please wait ....