[TYPO3-english] generic markers question/issue
Jigal van Hemert
jigal at xs4all.nl
Thu Mar 18 21:04:34 CET 2010
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.
More information about the TYPO3-english
mailing list