DAM News
Copyright © by Erich Bircher <typo3@internetgalerie.ch>Published under the Open Content License available from http://www.opencontent.org/opl.shtml
Table Of Contents
- 1. EXT: dam_ttnews
- 1.1. Extension Key: dam_ttnews
- 1.2. Copyright 2006-2011, Erich Bircher, <typo3@internetgalerie.ch>
- 1.3. Read online
- 1.4. This document is published under the Open Content License
- 1.5. available from http://www.opencontent.org/opl.shtml
- 1.6. Read online
- 1.7. The content of this document is related to TYPO3
- 1.8. - a GNU/GPL CMS/Framework available from www.typo3.com
- 1.9. Read online
- 1.10. Read online
- 1.11. Introduction
- 1.12. Users manual
- 1.13. Configuration
- Read online
- Configuration via Extension Manager:
- DAM Media Field: If this is set, the Image and the Media Field of a News record will be replaced by a DAM-Field
- Original Media Field: If this is set, the original media fields will also be displayed. Can be used for migration to the new media fields.
- Read online
- Configuration via Constant Editor:
- With plugin.dam_ttnews.mode a mode can be set that influences, which values for the image captions, image alt texts and image titles are set for image output.
- mode = 0 : Image captions, image alt text and image title tag are set from the fields in the tt_news record
- mode = 1 : If values are set in the tt_news record fields, they are used, otherwise values from DAM meta data are used
- mode = 2 : Image captions, image alt text and image title tag are set directly from the according meta data fields in the selected DAM record, ignoring the fields of the tt_news record.
- Read online
- Configuration of the output of news files:
- This can be done via standart tt_news newsfiles typoscript configuration (see tt_news manual).
- Read online
- Configuration of news images:
- The extension supports standard typoscript configuration of tt_news image configuration (see tt_news manual) and also the l10n_mode_imageExclude setting in the tt_news extension configuration.
- Read online
- Reference
- Read online
- - Reference (TypoScript)
- Read online
- 1.14. Update
- Migration from normal media fields to DAM fields
- Read online
- If dam_ttnews gets freshly installed on a typo3 site with existing tt_news records, the image and file entries get lost. If there are just a few then the old image and media field can be displayed via the extension manager configuration settings of dam_ttnews (Original Media Field). Now the image and file references can be added manually.
- If there are a lot of tt_news entries, there is a script which allows to import the references to the new DAM fields.
- To use the script go to the extension manager and select damtt_news. If there are image or file references in the standard fields, which are not yet migrated, then it is possible to select the “UPDATE!” command in the pulldown selector on top of the extension manager. After selecting “UPDATE!” a list with all “lost” image and file references is dispplayed and can be individually selected to be migrated.
- Update from old dam_ttnews versions to dam_ttnews versions >= 0.1.12
- Read online
- In old dam_ttnews versions the display configuration of the news files had to be made over the plugin.dam_ttnews configuration array. In versions 0.1.12 and above the extensions takes the configuration array directly from tt_news. Thus all configuration has to be changed to the tt_news array and the new static template of dam_ttnews has to be added in the template.
- Read online
- example:
- old dam_ttnews typoscript code (<0.1.12):
- plugin.dam_ttnews.newsFiles.icon= 1
- Read online
- new typoscript code (>=0.1.12):
- plugin.tt_news.newsFiles .icon = 1
- Read online
- Read online
- 1.15. Set image caption, alt text and title tag values
- 1.16. Read online
- 1.17. Known problems
- 1.18. Todo
- 1.19. Changelog
This document is related to version 0.1.12 of the extension dam_ttnews.