[TYPO3-english] TT_NEWS: How to get a section "#" at end of links in tt_news?
Bert Hiddink
hiddink at bendoo.com
Wed Aug 26 17:17:27 CEST 2009
Hi Tomas,
I have a similar need for tt_news links, instead of:
<a
href="index.php?id=94&tx_ttnews[tt_news]=1031&cHash=47cdc11111"
title="aaa" onclick="return hs.htmlExpand(this, { objectType: 'ajax'}
)"><img src="typo3temp/pics/9fb2936cb1.jpg" width="75" height="75"
border="0" alt="" title="" /></a>
...I need:
<a
href="index.php?id=94&tx_ttnews[tt_news]=1031&cHash=47cdc11111#hs"
title="aaa" onclick="return hs.htmlExpand(this, { objectType: 'ajax'}
)"><img src="typo3temp/pics/9fb2936cb1.jpg" width="75" height="75"
border="0" alt="" title="" /></a>
I guess this can not be done with TS?
Thanks in advance again!
grt,
-brt
Tomas Mrozek wrote:
> It might be possible to achieve it in some simple way but if everything
> else fails, you can do it with "typolink" and its attribute "section".
> Try this:
>
> temp.bottomrightmenu = HMENU
> temp.bottomrightmenu {
> special = list
> special.value = 92,106
> 1 = TMENU
> 1 {
> wrap = <p>|</p>
> noBlur = 1
> NO {
> doNotLinkIt = 1
> linkWrap = |
> stdWrap {
> htmlSpecialChars = 1
> typolink {
> parameter.field = uid
> ATagParams = onclick="return hs.htmlExpand(this, { objectType:
> 'ajax'} )"
> ATagParams.dataWrap = | title="{field:title}"
> ATagParams.noTrimWrap = | | |
> additionalParams = &view=hs
> section = hs
> }
> }
> }
> }
> }
>
> Tomas Mrozek
--
Vriendelijke groeten,
Bert Hiddink
---------------------
BENDOO e-work solutions
Harterinkdijk 8
7065 AR SINDEREN
The Netherlands
Tel. 0315 244525
http://www.bendoo.nl
hiddink at bendoo.nl
---------------------
More information about the TYPO3-english
mailing list