oveleon/contao-resource-insert-tag

This package is abandoned and no longer maintained. The author suggests using the oveleon/contao-resource-insert-tag package instead.

Provides the ability to output content from various external sources via an insert tag

1.1.0 2023-05-30 10:21 UTC

This package is auto-updated.

Last update: 2025-03-19 09:07:42 UTC


README

Provides the ability to output content from various external sources via an insert tag

Install

composer require oveleon/contao-resource-insert-tag

Usage (Example using the Packagist API)

1. Add a new resource

Field Value
Title Packagist - Cookiebar
Alias / Constant cookiebar
Source url https://packagist.org/packages/oveleon/contao-cookiebar.json
Method GET
Data-Type JSON

2. Create new insert tags within the resource

Field Value
Alias / Tag downloads
Path* [package][downloads][total]

* Using the Symfony PropertyAccess Component

3. Use the Insert-Tag

{{cookiebar::downloads}}

// Output: 1676

ToDo:

  • Handle resource caching