[Typo3-dev] Create page wizard enhancement

Michael Scharkow mscharkow at gmx.net
Mon Mar 21 14:31:28 CET 2005


Martin Kutschker wrote:
> 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.

This is definitely a good idea. Further enhancement proposals below:

> 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?
[..]
> Or simply ignore these pages? Or stop page creation? What do you think? 

Put a validator before it and have it check everything before creating a 
single page. Otherwise one might have a lot of trouble (re)moving 
misplaced pages.

> With this you can create the complete sitemap in a texteditor (or a 
> spreadsheet) and create all pages in one sweep :-)

I like this idea a lot because it makes stuff easier for non-clicky 
people like me. We could make up a simple syntax for adding pages with 
certain (all $TCA) fields filled, like

page1 (advanced, A very long title, michael, me at example.org)
	page1.1 (bla,bli,blub)

I know this is possible with a little SQL but again, why not...

Greetings,
Michael





More information about the TYPO3-dev mailing list