tt_news
1.3.2. How to update:
If you upgrade your tt_news extension from a prior version (< 1.2.x), its required to use the "UPDATE!" function to synchronize table data.
The Updater does two things:
-
it transfers the content of the field "CODE" (e.g. LIST//1) from the old content element to the new flexform based parts of the content element
-
it creates relations to the categories in a new relation table (tt_news_cat_mm).
To perform this action, open the extension manager and click on the tt_news extension:

then click on the dropdown menu in the upper right corner and choose "UPDATE!"
If you don't see the option named "UPDATE!" the updater didn't find anything to update.

The update script will inform you about what it is going to do by showing the number of items found to be updated.
Note: This action will not change your old data in the tt_news or tt_content table. So even if you perform this action, you will still be able to downgrade to an earlier version of tt_news retaining the old category relations and CODE field data.
Just click the "DO IT" button to perform the update.
FAQ
-
Q: can this update-script update the tables and fields of any version of tt_news to the current one?
A: No. First thing to know: from which version of tt_news do you upgrade to the current version?
-
case 1: If you upgrade from the "classic" 1.0.4 version without any other news-extension installed, you can use the updater and all should be ok. :-)
-
case 2: if you upgrade from a tt_news version 1.0.x with one of the news-extensions installed that provides the "multiple categories"-feature, the updater will only update the content elements to flexforms but won't touch the category relation-table because its already present.
-
case 3: if you upgrade your tt_news extension from a version higher than 1.2.0 the updater will find data in the flexforms fields and also a category relation table. In this case the option "UPDATE!" won't appear in the extension manager.
-
Q: after updating my tt_news version (< 1.2.0) to the new tt_news version I don't see my old settings in the fields "Starting point" & "recursive". Is this a bug in the updater?
A: No. Your old settings are still present and they work. If you set a new "Starting Point" in the Flexform field, this value will have priority over the old "invisible" value. -
Q: I upgraded my tt_news version 1.0.x to the current version and don't see the "UPDATE!" option in the dropdown menu in the extension manager.
A: This happens, a) if you look in this menu directly after clicking the "Click here to install the extension" link in EM. Reload the page or choose any other option from the function-menu, and then look again in the menu.
or b) if there is any data found in the table "tt_news_cat_mm". This is the case, if you had an extension installed, that adds this table to tt_news 1.0.x (f.e. "News multiple categories" ext-key: dkd_newsmulticats).
