[TYPO3-templavoila] Rename mapped field
Kay Strobach
typo3 at kay-strobach.de
Thu Jan 26 16:41:47 CET 2012
Hi Tolleiv,
the problem occurs e.g. if you have an existing page DS/TS and want to
migrate to templavoila_framework.
Then you theoretically need to remap all the CE's, but if you simply
rename the field from the old DS into the one from the new DS you won't
need to do this ;)
I will do the patch soon (as be module to the functions dialogue, as the
other tv modules)
Regards
Kay
Am 26.01.2012 14:20, schrieb Tolleiv Nietsch:
> Hey,
>
> I'm really sorry that I didn't continue the re-referencing dialog with
> you. The reason (as mostly) was a lack of free time for it :(
>
> But I'm happy to see that you didn't stop thinking about it and that you
> keep bringing up suggestions and possible solutions - that's really
> motivating for me.
>
> So even if I didn't get why renaming the field would help to solve the
> other issue, I'm open to get that feature integrated as it seems to
> resolve an existing issue. So feel free to send the patch and I will
> take some time to test and review it.
>
> Cheers,
> Tolleiv
>
> Kay Strobach schrieb:
>> Hello Tolleiv,
>>
>> perhaps you remember, that i asked to make the rereferencing smarter.
>>
>> Now i found a much better solution for me:
>> The Content is stored in "pages" like this:
>>
>> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
>> <T3FlexForms>
>> <data>
>> <sheet index="sDEF">
>> <language index="lDEF">
>> <field index="field_content_main">
>> <value index="vDEF">8133,8132,8138,8135</value>
>> </field>
>> </language>
>> </sheet>
>> </data>
>> </T3FlexForms>
>>
>> Most times people just have the problem that the fieldname of a field in
>> the TV DS has changed.
>>
>> So the easiest solution of a very intellegent remap is the following:
>>
>> Just rename one of the fields in the XML which is stored in the field
>> pages.tx_templavoila_flex.
>>
>> If you would like to have that in TV i would make a patch, if not i
>> would make a standalone extension.
>>
>> Regards
>> Kay
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-project-templavoila
mailing list