[TYPO3-english] generic markers question/issue

Douglas La Farge doug at gcnpublishing.com
Thu Mar 18 21:56:17 CET 2010


Thank you for this.  I'll be sure to remember to use the typolink property.

regards,
doug

On Mar 18, 2010, at 1:04 PM, Jigal van Hemert wrote:

> Douglas La Farge wrote:
>> genericmarkers {
>> data = tx_ttnewsextender_vitals_article_source, tx_ttnewsextender_vitals_article_source_url source = COA
>> source{
>> 30 = TEXT
>> 30.field = generic_tx_ttnewsextender_vitals_article_source_url
>> 30.wrap = <hr><span class="small_caps"><a href="|">
>> 30.required = 1
>> 31 = TEXT
>> 31.field = generic_tx_ttnewsextender_vitals_article_source
>> 31.wrap = |</a></span><hr>
>> 31.required = 1
>> }
>> }
> 
> Please, do not make links using a wrap like this. The typolink property was invented for this:
> 
> source = TEXT
> source {
> 	field = generic_tx_ttnewsextender_vitals_article_source
> 	wrap = <hr /><span class="small_caps">|</span><hr />
> 	typolink.parameter.field = generic_tx_ttnewsextender_vitals_article_source_url
> }
> 
> If the url is not populated there will be no link, just the "source" text with the wrapped stuff.
> 
> -- 
> Jigal van Hemert.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-+-+-+-+-+-+-+-+-+-+-+-+-+
Doug La Farge
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
203.665.6211 x209



More information about the TYPO3-english mailing list