[Typo3] Utility to create site structure?

JoH info at cybercraft.de
Tue Sep 6 11:00:54 CEST 2005


> I'm fully aware of that.  I want to be able to take the existing
> structure of a website of approximately 100 pages or more, already
> described in a single text file, and import it in one process, rather
> than cutting and pasting 100+ times.

Should be a simple php function that splits up this text file.
You could use tabs (or any other divider) to structure the file.

Level1_1
    Level2_1
        Level3_1
        Level3_2
        Level3_3
    Level2_2
    Level2_3
        Level3_1
Level1_2
    Level2_1
    Level2_2
    Level2_3
Level1_3
    Level2_1
    Level2_2
    Level2_3
Level1_4

Create a basic extension with the kickstarter containing a backend module
where you can write a text into a textarea or import it from any plain text
source.
Then you just have to copy your PHP-function into the module's PHP file and
modify it to use the TYPO3 BE functions.
A nice feature could be to have it create pages as a subtree of existing
pages so the function should be aware of the parent page and set it as the
pid for the first level.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list