Code Monkey home page Code Monkey logo

news_ttnewsimport's Introduction

TYPO3 extension "news_ttnewsimport"

This extension imports records from EXT:tt_news to EXT:news with support for multiple 3rd party extensions which enhance tt_news.

Requirements

  • TYPO3 CMS >= 6.2
  • Ext:news >= 3.0

License

GPL v2

Migrate records

The records tt_news are migrated to tx_news_domain_model_news and tt_news_cat to sys_category.

The following 3rd party extensions are supported during the migration and are not needed anymore:

  • DAM: The dam records are migrated using the new FAL API.
  • jg_youtubeinnews: YouTube links are migrated to EXT:news media elements
  • tl_news_linktext: Related links are migrated to ext:news link elements
  • EXT:mbl_newsevent are migrated to the available fields of EXT:roq_newsevent (News event extension for EXT:news)

Usage

  • After installing the extension, switch to the module "News Import".
  • Select the wizard you need and press Start.

Important: First start import of categories if any. Afterwards reopen the module to import news. If you don't reopen the module, some news can be imported twice.

Plugin migration

You can migrate the plugins of tt_news to news by using the command line.

Be aware that not all options are migrated. Supported are:

  • what_to_display
  • listOrderBy (except: archivedate, author, type, random)
  • ascDesc
  • categoryMode
  • categorySelection
  • useSubCategories
  • archive
  • imageMaxWidth
  • imageMaxHeight
  • listLimit
  • noPageBrowser
  • croppingLenght
  • PIDitemDisplay
  • backPid
  • pages
  • recursive

not supported:

  • croppingLenghtOptionSplit
  • firstImageIsPreview
  • forceFirstImageIsPreview
  • myTS
  • template_file
  • altLayoutsOptionSplit
  • maxWordsInSingleView
  • catImageMode
  • catImageMaxWidth
  • catImageMaxHeight
  • maxCatImages
  • catTextMode
  • maxCatTexts
  • alternatingLayouts

Usage

Important: Run the plugin migration after the record migration!

# Gives you some information about how many plugins are still to be migrated
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:check
# Creates the plugins for *EXT:news* by creating a new record below the plugin of *EXT:tt_news*.
# This makes it possible for you to cross check the migration and adapt the plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:run
# Replace tt_news plugins directly without creating copies.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:replace
# Hide the old tt_news plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:removeOldPlugins

# Deletes the old tt_news plugins.
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:removeOldPlugins delete=1

Known issues

see FAQ Section in Documentation/Misc/Index.rst

news_ttnewsimport's People

Contributors

amueller2504 avatar blueamerican avatar danielsiepmann avatar derhansen avatar frans-beech-it avatar fsaris avatar georgringer avatar lorenzulrich avatar mabahe avatar ursbraem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

news_ttnewsimport's Issues

Importing module not workung at all with 7.6?

Is the impor tmodule not working at all?
Have a 7.6 installation with news 5.3.3, news_ttnewsimport 2.0 and tt_news 7.6.3 and every time I try to select something in the wizzard nothing happens excapt an error gets thrown, console output:

Uncaught SyntaxError: Unexpected token <
at doDecode (ext-all-48a2d0289e3366dbc91c6968c3f3e78b.js:21)
at Object.decode (ext-all-48a2d0289e3366dbc91c6968c3f3e78b.js:21)
at success (VM168268 index.php?M=system_NewsTxNewsM1&moduleToken=5be4ae73342916247c50ec2e3aadae05aa131611:244)
at Ext.data.Connection.handleResponse (ext-all-48a2d0289e3366dbc91c6968c3f3e78b.js:21)
at f (ext-base-af48b2f229522e8919b865e611172ed1.js:21)
at m (ext-base-af48b2f229522e8919b865e611172ed1.js:21)
at ext-base-af48b2f229522e8919b865e611172ed1.js:21

Any idea?

Migration from ttnews (fal ready) to news failed

Hi,

Images are not migrated.
Is there any order to follow for migrate tt_news (with dam) to news (with fal)?
I test ttnews dam -> ttnews fal (and it's ok, images are here)
ttnews fal -> news with the importer and images are not linked in news records :(

thanks

Visible state of plugins get lost

All new created plugins are hidden=1. We need an option to keep the visible state of the old plugins, so that hidden plugins still hidden and visible plugins still visible after migration.

improve wording of import jobs

The text "Import tt_news news records (with DAM -> FAL support)" is a bit too long as there is no other tt_news import anymore, just remove the "(with DAM -> FAL support)"

same for categories

Search plugin looses search-result functionality after migration

Hallo,
tt_news has a plugin called "Searchform with result list (SEARCH)".
tx_news has two separate plugins for that "Search form" and "Search result".
The new "Search form" plugin has no option to show also the result how it behaves in tt_news but the migration just converts the old search+result to the new search-only plugin without adding the search-result one.
So I think we need to add this to the process.

Import stops after few records

Environment: Typo3 6.2.3, News 3.0.1, News_ttnewsimport 1.0.1

I have the problem, that of 100 tt_news record the import to news shows 100% done but there are only 9 record imported. When deleting, the "last" imported record and the following record (I assume, the records are imported in order of the datetime field) and restart, the number of imported record is reduced by the "last". I get no error message.
The "last" record of the last import is deleted, if it may produce an error and the following, if this record produces the error. But after deleting a lot of record, there are only fewer imported records in the list.

Error during import news records

Hello

I get when importing news records an error message. But only "Die Seite XXX meldet: error". The import of categories works.

I use the following system:
typo3 6.2.3
tt_news: 3.6.0
news: 3.0.0 ( git-version with the change: "[TASK] Move from xml to xlf")
news_ttnewsimport: 1.0.1
newsextended: 1.0.0

I found a similar error message, but I could not find a solution.
http://forge.typo3.org/issues/56596

thank you

Does not install on 8.7.30

It does not appear in Extension Manager. Loading up manually prompts error message "Extension news_ttnewsimport is not available". Tried on 3 different installations.
Changing dependencies in ext_emconf.php did not help. TYPO3 has to run on PHP 7.x, this extension is in 5.3.
I would be thankful for any advice, but changing the compatibility settings might prevent others from running into the same issue.

Fatal error after install

After installing the extension i get this error message: Fatal error: Class 'Tx_News_Utility_ImportJob' not found in /vagrant/src/typo3conf/ext/news_ttnewsimport/ext_tables.php on line 6

TYPO3 7.6.9
news 4.3.0
news_ttnewsimport 1.0.2

No "Module" is showing up in TYPO3 7.6

TYPO3 7.6.31
news_ttnewsimport 2.0.0
news 6.3.0
tt_news 7.6.3 (not active)

I can't find the Update module.. cleared all caches, db-compare is clean, upgrade-wizzard clean, re-logged-in in BE - I'm Admin-User

Any help, or any version-combination that works?

Extension breaks on (empty) modifications

I have two custom import jobs I have written based on the old version. Now I tried to add them to the new version, but as soon as I edit ext_tables.php (even saving without changes!), on re-installing the extension, the EM goes

Fatal error: Class 'Tx_News_Utility_ImportJob' not found in /Users/me/Sites/mysite/typo3conf/ext/news_ttnewsimport/ext_tables.php on line 6

I'm running this locally on MAMP, file permissions are good. Do you have an idea what this could be?
PS: I'll make a fork now and see how it goes if I install that

Cheers
Urs

No News are imported, Importer says Done

Unfortunatly the importer won't import any news. After clicking it says Done, but no news.

Typo3: 6.2.15
News: 2.2.24
tt_news importer: 1.0.2

The import of categories worked, the news_import folder exists under fileadmin, what am I doign wrong?
Thanks for your help!

Class 'Tx_News_Utility_ImportJob' not found

Hi everybody,
On a typo3 7.6.6 instance installed with Composer, I'm trying to migrate tt_news table from a 4.5 instance. I followed instruction from EXT:news manual (which perfectly worked on a 7.6.2 zip-installed previous instance), but unfortunately when I activate EXT:news_ttnewsimport I get a
Fatal error: Class 'Tx_News_Utility_ImportJob' not found in [my_server]/CmsBaseDistribution/web/typo3conf/ext/news_ttnewsimport/ext_tables.php on line 6...
I double and triple checked my instance but I can't get why it does not work.
Would anyone have a clue about this? Thanks a lot!
Alex

listLimit not supported?

Hello there,

I figured that listLimit should work (according to documentation and source code in TtNewsPluginMigrat.php) but it turns out, the migration information is missing in flexform.txt.

Do you have an example on how this should be integrated in there?

Best Regards
Tizian

problem with plugin migration

I have a problem with plugin migration.
When I run the following migration command, on the page the news does not appear. Display: "No news available" .
./typo3/cli_dispatch.phpsh extbase ttnewspluginmigrate:replace

They will only appear when I open and save the contents of the plugin in TYPO3 BE (without changes in plugin).

I have installed:
news 6.0.0
news_ttnewsimport 2.0.1

regards

Translation are not imported

Hello,

i wanted to migrate tt_news to tx_news with translation, but somehow the l10n_parent id's are wrong and also in the frontend are multiple news-entry in 1 language.

Typo3 upgrade from 4.5 to 6.2 :)

Doesn't seem to work with news 6.0

No problems with news 5.3.3 but with news 6.0:
the select box for the import job is displayed - but nothing below.

In Javascript logger there's a message:
"TypeError: TYPO3.lang is undefined"

In 5.3.3 there's no message....
Downgrade to news 5.3.3 worked for a second import (and then update again..)

Backend Modul is not working under TYPO3 8.7.0

Only a select box appears, but no button to start the selected action.

Migration over CLI works for 30 records and throws this message at the end:

b8596cd39d10:/app/web/ - core: File "EXT:form/Configuration/TypoScript/constants.txt" was not found.
b8596cd39d10:/app/web/ - core: File "EXT:form/Configuration/TypoScript/setup.txt" was not found.

Import of tt_news from other website

Hi,

if I want to migrate tt_news records from another website, which files do I have to copy to the new site to let the extension import images correctly? All images in uploads/pics/, or in typo3temp? Both?

Extension fails on importing translated records

The translated record is implemented twice in the tx_news_domain_model_news:
first record is with uid of original not translated record, but with translated content, sys_language_uid = 1 and l10n_parent of itself but lacking t3_origuid,
second is the translated record (correct uid, sys_language_uid, l10n_parent, and contentfields), but with lacking t3_origuid as well.
So nothing of these items will display in frontend or backend

How to analyze import behaviour

Hi

after adding page TS to tx_news, I was able to import a bunch of tt_news items into tx_news. But I have (at least) two Issues now I don't know how to debug.

  • Nothing happening to categories. sys_category and sys_category_record_mm stay empty. (I only have one category and one subcategory in this example, located on the same page as the news items).
  • Not all items are imported. In the list module, I get a different count of the news items, but a diff of the entries rather shows that translations are being lost.

Can you give me some hints to fix this?
Thanks!
Urs

How to keep the old tt_news uids

During mirgration the news importer changes the original uid and assigns a new one. In our case we need the old tt_news.uid because the site is listed on Google News and the uid is part of the url. Is there a possibility to keep the old uid's?

Media files are created but not referenced

The media files are present in the news_import folder, some tx_news_domain_model_news records include fal_media = 1, but none of the images are displayed in the frontend.
I did change pids of the news records after the import, moving them to new folders. Could this be the cause?

TYPO3 v8.7.32
news v7.3.1
tt_news importer v2.0.0
Migration was done with records from tt_news v8.7.0dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.