[TYPO3-english] TMENU: How to get a "#" in NO.additionalParams.wrap instead of "%23"?
    Bert Hiddink 
    hiddink at bendoo.com
       
    Wed Aug 26 10:30:40 CEST 2009
    
    
  
Hello!
I have got the following snippet:
#Menu object upper top
temp.bottomrightmenu = HMENU
temp.bottomrightmenu{
  special = list
  special.value = 92,106
  1 = TMENU
  1 {
   wrap =  <p> | </p>
   NO.ATagParams  = onclick="return hs.htmlExpand(this, { objectType: 
'ajax'} )"
   NO.ATagParams.dataWrap  = | title="{field:title}"
   NO.ATagParams.noTrimWrap  = | | |
   NO.additionalParams = &view=hs
   NO.stdWrap.htmlSpecialChars=1
   # Need a # here for pointing to the right div
   NO.additionalParams.wrap = |#hs
   NO.linkWrap = |  
   noBlur = 1
  }
}
However, this produces:
<a href="index.php?id=92&view=hs%23hs"  onclick="return 
hs.htmlExpand(this, { objectType: 'ajax'} )" title="Mapa del sitio">Mapa 
del sitio</a>
...while I need ("#" instead of "%23"):
a href="index.php?id=92&view=hs#hs"  onclick="return 
hs.htmlExpand(this, { objectType: 'ajax'} )" title="Mapa del sitio">Mapa 
del sitio</a>
Any ideas how to achieve this?
I looked also at the TS for the CE "Menu sitemap: index" to see how it 
is achieved there but the # seems to be hard-coded? Or am I mistaken?
Thanks in advance for your ideas!!!
Regards,
Bert
-- 
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