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

bernd wilke t3ng at bernd-wilke.net
Fri Mar 7 13:22:53 CET 2014


Am 07.03.14 11:05, schrieb Jigal van Hemert:
> 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.

That would be possible, but as I export the page in the context of the 
page itself it would be very difficult to render complete different 
content for a pagetype which only delivers the urls of export-pages

for a first iteration with an external tool I did something like this. I 
created pages with google-sitemaps of subtrees, including a 
pseudo-subtree for the newspages. but that is on a complete different 
subtree.
now the export is initiated in the BE at the page itself.

>> 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.

I think I don't get it.
can you be more specific? an example?

bernd
-- 
http://www.pi-phi.de/cheatsheet.html



More information about the TYPO3-dev mailing list