This module allows to create tags for Contao elements.
It provides a basic database structure to save the tags and it can be used to visualize existing tags.
The module contains the following extensions:
- A widget TagField for backend forms. You can add tags as a comma separated list into a text field. The tags are saved into a separate database table.
- A frontend module Tag Cloud to visualize the tags in a cloud like in the Contao extension repository. The Tag Cloud can optionally contain a top 10 list of tags and a list of related tags.
- A frontend module Global article list to show a list of all articles in a Contao installation. If the global article list is called from a tag cloud, only the articles with the given tag are listed
- A tag field for articles, news entries and calendar/events, and content elements
- An extended content element “heading” that can be shown only if tags are used.
- An insert tag {{tags_used}} that shows a list of used tags.
- Added: Save news archive URL parameters if a news archive is used on the same page as a tag cloud
Please note that for a proper integration the Mootools support must be activated in your Contao page layout.
Release notes
1.7.0
- Added: Clear tags option. When checked, an additional hyperlink is shown to clear all selected tags.
- Added: Module “Tag scope”. This module shows all selected tags on a page. It supports the following actions: a) Clear all selected tags. b) Select a specific tag c) Clear a specific tag.
- Modified: Example style sheets tags_orange.css and tags_oxygen.css have been modified to support the new features.
1.6.6
- Added: Additional database field for global articlelist. Without a given tag it is now possible to show an empty articlelist (default) or all existing articles.
1.6.5
- Added: Additional database field to add a CSS tag for tags that are assigned on the active page (only used in tags_articles and tags_content)
- Fixed: Problem with calextend-Extension which prevents the extension of the eventlist-Module by removing the eventlist module legends
- Fixed: Problem with old browsers/web servers and special characters (like german Umlauts) in tags. The resulting URLs are created now according to RFC 3986
- Fixed: TOP 10 tags URLs have been the same for all tags
1.6.4
- Added: Select wheather or not Contao specific URL parameters should be kept by tag clouds
- Fixed: News archive filtering was not working correctly
1.6.3
- Removed automatic manipulation of headlines when tags are used. Instead the used tags are available in the template variable ‘tags_activetags’ and the number of hits in the template variable ‘tags_total_found’. This behaviour is NOT compatible with previous versions of this extension. To get the same result you have to modify existing template like mod_newslist etc. on your own but it’s definitely the better and cleaner solution. I apologize for all inconveniences.
- Added template selection for tag cloud module
- Added CSS class/ID input fields for tag cloud module
- Added insert tagĀ {{tags_article_url::id}}
1.6.2
- Added template selection for global article list
1.6.1
- Added insert tags {{tags_news::id}}, {{tags_article::id}}, {{tags_content::id}}, and {{tags_event::id}}
- Added complete support of parseArticles hook (no longer overwriting the parseArticles method)
1.6.0
- Added tags for content elements
- Added Contao tags settings
- Fixed a bug in ModuleNewsListTags (global $objPage was overwritten by accident)
1.5.2
- Added Contao 2.9 compatibility
1.5.1
- Added tag filter for Eventlist module
1.5.0
- Added TYPOlight 2.8 compatibility
- Added CSS class ‘active’ for selected tag in the tag cloud
1.4.3
- Added extended content element “heading”.
- Added {{tags_used}} insert tag
1.4.2
- Added an option “Use tag classname” for all news list modules. This option adds an individual CSS class for every tag which is shown below a news entry. To support the individual CSS class, the news_full_tags template has been changed.
1.4.1
- Added an option to create additional CSS classes out of the tag names to allow individual styling of tags in tag clouds.
1.4.0
- Added support to show the tags of an event below the event in the eventlist module.
- Added support to show the tags of an article below the article in the global article list module.
1.3.4
- Added ‘Tag filter’ for news list and news archive to add a default filter for the news entries.
1.3.3
- Added new option ‘Ignore tags’ for all news modules to prevent tag filtering. This might be necessary if a latest news list is called with a tag in the URL.
1.3.2
- It is now possible to filter the module newslist with tags.
- Renamed article delete method due to conflicts.
1.3.1
- The toggle state of the tag clouds and the related tags will be saved for every user.
1.3.0
- Created TYPOlight 2.7 compatible version.
1.2.0
- Added support to show the tags of a news article below the article.
- Added additional CSS styles for tag chains.
- Added additional template file news_full_tags.tpl to show tag chains in news archive and news reader.
1.1.1
- Added tag support for calendar/events.
- Added the ‘tag’ URL parameter to the list of TYPOlight URL keywords to prevent problems with URL manipulating modules (this fixed an actual issue with the folderurl module).
1.1.0
- Copying news and articles now also copies the tags (using the TYPOlight 2.6.4 reviseTable hook).
1.0.4
- Added Related Tags to Tag Cloud.
1.0.3
- Added Top 10 Tags to Tag Cloud.
1.0.2
- Added maximum number of available tags for tag cloud and tag field.
- Added global article list.
- Added number of CSS selectors for tag cloud
- Added delete callback for news entries to delete the news tags when the entry is deleted.
- Added delete callback for articles to delete the article tags when the article is deleted.
1.0.1
- Removed save_callback method saveTags and added automatic load/save for tags.
- Added tag support for articles and news entries.
- Tags will be saved with their given case now and no longer converted to lowercase.
1.0.0
- Initial version