Contao Open Source CMS > Enhance > Extension list > [fp_lngInsert] fp_lngInsert 0.0.1 rc1

Extensions > fp_lngInsert

[fp_lngInsert] fp_lngInsert
Thumbnail picture

Insert language dependent text or other insert-tags

Introfuction

The "iflng" Tag from the core system allows only normal text to be included. If you want to use different insert-tags for different laguages it's getting complicated.
This extension allows to add a normal text OR another insert-tag depending of the shown language. So it's possible to show different images for different countries.

Function:

The notation is {‎{lnginsert::language?lngtext=Text}} or
{‎{lnginsert::language?tagname=name of the insert-tag&tagparam=param following the colons[¶meter=value...]}}.

Example:

Text: {‎{lnginsert::de?lngtext=Welcome}}

Insert-Tag 1: {‎{lnginsert::en?tagname=date&tagparam=m-d-Y H:i}}Insert-Tag 2: {‎{lnginsert::de?tagname=image&tagparam=tl_files/music_academy/campus/campus_building.jpg&alt=A campus building&width=200&rel=lightbox}}

Version0.0.1 rc1TypeFree
Release date2009-07-19CategoryPlugin
LicenseLGPL
Copyright© 2009 Felix Pfeiffer : Neue Medien
AuthorFelix Pfeiffer (felixpfeiffer) http://www.felixpfeiffer.de
Release notes and change log for 0.0.1 rc1Other versions
This Version works fine but I couldn't test all insert tags existing for TYPOlight. So if you find a tag that doesn't work, please let me know.Other tags with more parameters only work, if they follow the form of the image-insert-tag.
Release downloads55Total downloads55
Release installs60Total installs60
Release updates4Total updates4
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.7.0 stable2.7.2 stable
NameVersion fromVersion to
PackageSizeDate
Contao_fp_lngInsert_16_11.zip792272011-08-12 10:50