2017 © Pedro Peláez
 

typo3-cms-extension tev_label

3ev Label TYPO3 Extension

image

3ev/tev_label

3ev Label TYPO3 Extension

  • Wednesday, September 16, 2015
  • by 3ev
  • Repository
  • 9 Watchers
  • 1 Stars
  • 115 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Tev Label TYPO3 Extension

Latest Stable Version License, (*1)

Allows management of functional labels through the database and list views., (*2)

Installation

$ composer require "3ev/tev_label"

Usage

Install the TYPO3 extension through the Extension Manager. You'll then be able to add Labels from the List View. Each label has a key and a value. We recommend using the this.is.my.label structure for keys, to mirror TYPO3's built in translation APIs. You can add Labels to any storage folder or page - they will be found globally., (*3)

View Helpers

Tev Label is intended for use in Fluid templates. It provides a single view helper, with which you can fetch a label and include it in your template:, (*4)

{namespace tvl=Tev\TevLabel\ViewHelpers}


<tvl:label key="my.label.one" />


<tvl:label key="my.label.one" markers="{_marker: 'marker replaced'}" />

The markers array is a simple replacement for sections in your label. We recommend the convention of prefixing any markers in your labels with a single underscore., (*5)

Label Manager

If needed, you can an inject an instance of Tev\TevLabel\LabelManager into your Extbase classes. Instances of this class provide a ->get($key, $makers) method, which is identical in functionality to the view helper., (*6)

Import labels from .ini files

If you've got a set of labels you want to quickly import into TYPO3, you can do so from the CLI using a .ini file of the structure:, (*7)

my.label.one = "First label"
my.label.two = "Second label with _marker"

You can then run:, (*8)

$ cli_dispatch.phpsh extbase label:import </path/to/labels.ini> <storage_folder_uid>

This command will import all of the labels in the given file to the given Storage Folder. However, existing labels will not be overriden - only new labels will be imported., (*9)

License

MIT © 3ev, (*10)

The Versions

16/09 2015

dev-master

9999999-dev https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

16/09 2015

v3.0.4

3.0.4.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

05/08 2015

v3.0.3

3.0.3.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

05/08 2015

v3.0.2

3.0.2.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

 

05/08 2015

v3.0.1

3.0.1.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

 

05/08 2015

v3.0.0

3.0.0.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

 

03/08 2015

v2.0.1

2.0.1.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

30/07 2015

2.0.0

2.0.0.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

  • php >=5.5.0

 

17/07 2015

v1.1.3

1.1.3.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

 

04/09 2014

v1.1.2

1.1.2.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

 

05/03 2014

v1.1.1

1.1.1.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

 

03/03 2014

v1.1.0

1.1.0.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

 

27/09 2013

v1.0.1

1.0.1.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires

 

20/09 2013

v1.0.0

1.0.0.0 https://github.com/3ev/tev_label

3ev Label TYPO3 Extension

  Sources   Download

The Requires