[TYPO3-ttnews] some new features to test

Rupert Germann rupi at gmx.li
Tue May 5 21:51:55 CEST 2009


good evening group,

I just uploaded a new version of tt_news 3.0.0 to
http://forge.typo3.org/repositories/show/extension-tt_news

changes:
* new feature: "generic markers". thanks to Georg Ringer for his
ttnewsgenericmarkers extension!
Generic markers allows you to define new HTML-template Markers and render
any field from a tt_news record to them without writing a single line of
PHP code.

configuration is done exactly like Georg describes it in the fine manual of
ttnewsgenericmarkers:
http://typo3.org/documentation/document-library/extension-manuals/ttnewsgenericmarkers/current/

with one difference:
the parameter "data" is not needed anymore because the cObjects for the
markers are now rendered from local_cObj which already is loaded with the
complete news record.

means: you can access any field from the current tt_news record and fill its
content to a selfdefined marker.

--------------------------------- 
* new feature: now it's possible to enable the "Crop"-Mode for news images
directly in the Constant Editor (tt_news advanced -> listImageMode,
latestImageMode).

Since some time the TYPO3 IMAGE cObj is able to crop images additionally to
resize them. This is quite a neat feature but until now it was a bit tricky
to enable it in tt_news. tt_news did always use the "maxW" and "maxH"
parameters to define the image size but an appended "c" is not interpreted
as "crop". The suffixes "c" and "m" (for max width/height) are now
interpreted also in maxW/H. In case listImageMode is set to "crop" a "c"
will be added automatically to those values.
Finally the parameters "width" and "height" will be filled with with the
processed values and sent to the IMAGE object.  
This happens only if "width" and "height" are not set already by TS.
So I think it should be downwards compatible to most settings.

And it works with optionSplit, yeah!

  displayList.image.file {
    width = 252c||252c|*|160c|*|100c||80c||65c
    height = 90c||90c|*|80c|*|100c||80c||65c
    maxW =
    maxH =
  }

;-)

the complete changelog can be found here:
http://forge.typo3.org/repositories/entry/extension-tt_news/trunk/ChangeLog


greets
rupert








More information about the TYPO3-project-tt-news mailing list