[TYPO3] typolink not rendering ATagParams

Luis Flávio Seelig lflavios at gmail.com
Tue Sep 16 04:44:49 CEST 2008


Hi list,

I have a problem rendering this typolink. The link renders correctly but
without the html class attribute.

The code:
---
plugin.tt_news {
   wrap1.stdWrap = TEXT
   wrap1.stdWrap {
      value =  
      value.field = title
      typolink.parameter = {$plugin.tt_news.singlePid}
      typolink.additionalParams.data=register:newsAddParams
      typolink.ATagParams = class="open"
      typolink.useCacheHash = 1
   }
}
---
The result (correct link, but without the class="open" attribute):
---
<a href="index.php?id=397&amp;tx_ttnews[tt_news]=17&amp;tx_ttnews[backPid]=392&amp;cHash=b622625d2f"
title="Title">&nbsp;</a>
---

I try with:
---
plugin.tt_news {
   wrap1.stdWrap = TEXT
   wrap1.stdWrap {
      value = &nbsp;
      value.field = title
      typolink.parameter = {$plugin.tt_news.singlePid} _self a_class
      typolink.additionalParams.data=register:newsAddParams
      typolink.useCacheHash = 1
   }
}
---
but this render an A tag with the html class attribute wrapping the the
link.

After read tsref and googling a lot, I can't find a clue. I'm doing
something wrong? Any hint?

Thanks in advance.
-- 
Luis Flávio Seelig
lflavios at gmail.com
----
Linux User #363919


More information about the TYPO3-english mailing list