[TYPO3-dev] Merge Extensions
Widmann, Manfred
mpunktw at gmx.net
Thu Dec 27 18:40:32 CET 2007
"Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im
Newsbeitrag
news:mailman.1.1198438527.16464.typo3-dev at lists.netfielders.de...
> Widmann, Manfred schrieb:
>> Hi!
>>
>> I've got a rather difficult problem, maybe one of you guys can help me:
>>
>> ws_banner is an old extension by Luke Chiam who tranferred it to me as he
>> isn't interested in TYPO3 things anymore. At this time I didn't want to
>> touch ws_banner more than necessary and therefore extended it with
>> wm_wsbannerplus (2 new columns in table tx_wsbanner_banner, one
>> additional plugin).
>>
>> For different reasons I want to merge the two extensions and maintain and
>> ectend them under the name wm_wsbannerplus. I' really good on the way and
>> everythin works fine even if I deinstall ws_banner but i'm afraid that
>> deletion of ws_banner will not work because:
>> a) wm_wsbannerplus 2.0.0 uses uploads/ws_banner (all the images are
>> stored there)
>> b) data are still sored in tx_wsbanner_banner
>
> You could leave the stuff there. It's not 100% clean because of the
> misnamings but technically ok.
>
>> Shure, nor problem to change that manually but it would be more than nice
>> (also for the guys who are using ws_banner / wm_wsbannerplus) when this
>> would be done "automatically" during installation. And this should be
>> true for first time installations too ...
>>
>> Any suggestions what to do?
>
> Use the upgrade hook of the EM.
>
> I don't know the exact specs, but if your ext. has a class.ext_update.php
> it will be available as UPDATE in the EM drop down of the ext. See for an
> example class.ext_update.php.
>
> If you're really moving stuff arouond, why don't you make a new extension
> wm_banner and mark both extensions as obsolete. Then the renamimg of the
> tables would at least make some sense the the users of wm_wsbannerplus.
>
> Masi
Thanks a lot, Masi! I'll try that!
Manfred
More information about the TYPO3-dev
mailing list