[Typo3] Utility to create site structure?
Michael Baker
mbaker at pobox.com
Wed Sep 7 14:55:02 CEST 2005
Tuurlijk! wrote:
>Hi Michael
>
>Hi,
>
>I made an alpha wizard yesterday. ...
>
>The exstension key is: wizard_crpagetree
>
>...
>If anybody has a function that does this, the wizzard can go to beta!
>
>Please drop me a line.
>
Where is it? I can't find it.
If you want I can extract the algorithm I developed for wenost[1]. It
reads each line, counts the number of spaces - if same as previous on
same level if more a lower lever, if less a higher level, as it
progresses it builds up a list of numbers of spaces and indent levels,
that way the user can select their own number of indents for each level
in the tree. Also while reading the lines it records the record
structure. I'd say use my existing code, but its written in python. If
I had your code I could probably rewrite my algorithm in php for your
extension.
Michael.
[1] http://wenost.sourceforge.net/
More information about the TYPO3-english
mailing list