[TYPO3] Auto-move elements in a TemplaVoila setup

Tapio Markula tapio.markula at xetpoint.fi
Wed Sep 17 21:18:24 CEST 2008


Johnny
> I'm a trying to make a backend-extension, where it is possible to 
> "auto-move" some tt_content-elements from one TemplaVoila field to another. 
> But I cannot figure out, how to do this.
that is complicated because positions are stored internal XML documents 
=> simple SQL queries can't be used like normal records

> I have also done some testing with TCEmain on how to create pages and 
> tt_content-element. This is working fine, and the pages and elements are 
> both accessible from the backend, but every tt_content-element are placed in 
> the first column in the TemplaVoila-setup.

> I have used this code, to ie. change the header of an element:
> $tce_data['tt_content'][100] = array('header' => 'test');
> I would think, it should be possible to move an element from one 
> TemplaVoila-field to another aswell, since it is possible manually in the 
> backend by clicking some icons.

those use TemplaVoila api and flexform pointer functions.


More information about the TYPO3-english mailing list