[Typo3-dev] Create page wizard enhancement
Martin Kutschker
martin.kutscher.n0 at 5pam.blackbox.net
Mon Mar 21 10:10:46 CET 2005
Hi!
Having a site structure lying around in Excel-sheets and text files I wanted
to create multiple pages in a single copy-n-paste. So I modified the wizard
(moving code to methods) and created a new one based on the original.
It's a nice litte enhancement (variant) that has a single textarea instead
of ten single input fields. The "test version" takes each non-empty line as
a page.
Could perhaps improved further if leadings tabs are treated as folder
levels:
page 0
<tab>page 0.0
<tab>page 0.1
<tab><tab>page 0.1.0
<tab>page 0.2
page 1
<tab><tab>page 1.0.0 ?!?!
But I'm unsure what to do with broken indention. Collapse superfluos tabs?
page 1
<tab><tab>page 1.0.0 # broken indenting
=>
page 1
<tab>page 1.0 # corrected indenting
Or simply ignore these pages? Or stop page creation? What do you think?
With this you can create the complete sitemap in a texteditor (or a
spreadsheet) and create all pages in one sweep :-)
Masi
More information about the TYPO3-dev
mailing list