[TYPO3-dev] parsing TSconfig in BE-module?

Jigal van Hemert jigal.van.hemert at typo3.org
Fri Mar 7 11:05:03 CET 2014


Hi,

On 4-3-2014 9:37, bernd wilke wrote:
> I'm building a BE-module which should export (pseudo-)pages (something
> like a PDF-export).
> 'till now I have managed to export pages with subtrees and in multiple
> languages where an editor can select a page to start (with individual
> tree depth)

Did something similar a long time ago and simply used a page type to 
have output which was suitable as basis for the export (no menu, 
etcetera). Just called the frontend with that page type and processed 
the output before adding it to the export.

> Now I want to export some pages where for example news are displayed. so
> I don't want a hardcoded configuration I thought about a possibility to
> configure the export of variants of a page with additional
> url-parameters which could be retrieved by looking up record-uids from
> another page - or a combination. on other pages I need other record-uids
> to vary the page content.
> my attempt was to use page TSconfig to build up a list of uids/ URLs
> which can be configured in the page where the plugins are located.

You can easily use page TSconfig to build a list with table, pid for the 
records and the single view pid/url (maybe with a marker to insert the 
uid of the record). Use the same method of calling the frontend with a 
page type to have suitable output.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list