[Typo3] Utility to create site structure?
Andreas Otto
ao-lists at php4win.de
Thu Sep 29 08:49:59 CEST 2005
Hi Joey,
On Dienstag, 6. September 2005 11:00, JoH wrote in typo3.english:
> 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.
I don't think this is needed as all this already exists.
Go to the EM and check if the extension "cms_plaintext_import" is
installed.
If the extensions is installed you can reach the extension at
Web->Functions by selecting "Import" from the function menu.
As format select "---new_page---/---new_section---".
As source you can only select "Direct input".
In the text area "Direct input" you can paste the structure that should
be imported.
The example below will explain the syntax:
---new_page---
Page 1
Subtitle 1
---new_section---
Section 1
Text for section 1.
---new_page---
Page 2
Subtitle 2
---new_section---
Section 1
Text for section 1.
-More text for section 1 in italic.-
---new_section---
Section 2
Text for section 2.
This example will create two pages with content elements. The pages will
be subpages of the page you called the import function from.
If you think this is not enough this might still be a point from where
to start.
Cheers,
Andreas
--
Use recursive procedures for recursively-defined data structures.
- The Elements of Programming Style (Kernighan & Plaugher)
More information about the TYPO3-english
mailing list