[TYPO3] Assistance with wrapping characters.
Lia-anni
maryjackson at creighton.edu
Mon Jan 14 18:34:03 CET 2008
Well, the question was never "accepted"... Out of time, I need to get this
done, I'll go else where. Thought I'd found a place where I could get help
but if I need to wait 4 -5 days to even get the question on the board...
that isn't much help
Thanks all.
Lia-anni wrote:
>
> Hi all, I'm really really green at typoscript. I'm learning as I go (a
> trial by fire).
> I have to output a menu into javascript variables so that Flash can pick
> it up. I've got it almost working except that I need a pipe (verticle
> bar) as part of the output. So the output looks like:
>
> so.addVariable("sub_nav_3", "alumni/index.php|Alumni");
> or
> so.addVariable("sub_nav_<page place in menu>)", "<page path>|<page
> title>");
>
> I've got it working sweet except for the pipe | (between php and Alumni)
> using the following:
>
> temp.menu=HMENU
> temp.menu.special = list
> temp.menu.special.value = 28631,28632,28633,28634
> temp.menu.entryLevel = 0
> temp.menu.1=TMENU
> temp.menu.1.expAll=0
> temp.menu.1.wrap=|
> temp.menu.1.NO{
> before.cObject=LOAD_REGISTER
> before.cObject{
> mainMenuNumber.cObject=TEXT
> mainMenuNumber.cObject{
> value={register:mainMenuNumber}+1
> insertData=1
> }
> mainMenuNumber.prioriCalc=intval
> }
> ATagBeforeWrap=1
> doNotLinkIt = 1
> stdWrap=TEXT
> stdWrap.typolink {
> parameter.data=field:uid
> returnLast=url
> wrapandsub = |
> }
> linkWrap=
> so.addVariable("main_nav_{register:mainMenuNumber}"," |;{field:title}");
> allStdWrap.insertData=1
> }
>
>
> I've tried various incarnations of splitchar, but really I can't find much
> about it, documentation is a bit slight.
>
> Anyone have any suggestions? :confused:
> Thanks a bunch!!!
>
> Lia
>
> Hello inner child, I'm the inner babysitter.
> Susan Sto Helit
>
--
View this message in context: http://www.nabble.com/Assistance-with-wrapping-characters.-tp14766194p14806633.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list