Luis Flávio Seelig
2008-09-16 02:44:49 UTC
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&tx_ttnews[tt_news]=17&tx_ttnews[backPid]=392&cHash=b622625d2f"
title="Title"> </a>
---
I try with:
---
plugin.tt_news {
wrap1.stdWrap = TEXT
wrap1.stdWrap {
value =
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.
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&tx_ttnews[tt_news]=17&tx_ttnews[backPid]=392&cHash=b622625d2f"
title="Title"> </a>
---
I try with:
---
plugin.tt_news {
wrap1.stdWrap = TEXT
wrap1.stdWrap {
value =
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
Luis Fl?vio Seelig
lflavios at gmail.com
----
Linux User #363919