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

news_ttnewsimport's People

Contributors

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

Watchers

 avatar

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.