[Typo3] about optionsplit
Matthew Manderson
matthew at manderson.co.uk
Mon Jul 18 17:21:46 CEST 2005
Ah, now this idea of the middle comes clearer.
> Yes, I've repeated reading that section many times. But still not able
> to figure out how to implement what I want to do. What I'm stuck right
> now is how to find out the _middle point_ when the number of menu items
> is unknown.
Looking at TSref it looks like it cannot do an arbitrary 50:50 as the priority
is the last and so a fixed markup is needed to define it.
Instead the fast way I think I would start to approach this is to count the
number of sub pages ie your menu items using a globalVars ( I do not know at
the moment what the correct one would be) and then setup conditions to wrap
the items accordingly.
I hope someone else can chip in with their ideas.
Matthew
More information about the TYPO3-english
mailing list