Skip to content

This TYPO3 extension is an example how to extend EXT:news with new news types.

License

Notifications You must be signed in to change notification settings

nabossha/news_exampleextension

 
 

Repository files navigation

news_exampleextension

This extension extends EXT:news with new types and a field "author profile" which can contain a link to any page.

List view of the news types:

Screenshot 1

New field in the tab "Relations" of the news record:

Screenshot 1

Installation:

  • Install the extension
  • update the database in the install tool if necessary
  • Include static TypoScript template: "Additional types for EXT:news (news_exampleextension)"

Usage:

Fluid Templates:

  • {newsItem.type} contains four new types: blogText, blogImage, blogVideo or blogEvent.
  • {newsItem.authorprofile} has the uid of the author profile page.

Note:

The list view maybe shows type "news" for all the new types. This is a core bug that got fixed in TYPO3 6.2.11. See #65689 for details. Kudos to Georg Ringer for fixing this issue.

License and Authors

Authors: Peter Kraume (@Cybersmog)

Kudos to Georg Ringer and Marco Huber for their support!

Copyright: 2015, Peter Kraume

This script is part of the TYPO3 project. The TYPO3 project is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.

This script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

This TYPO3 extension is an example how to extend EXT:news with new news types.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.8%
  • ApacheConf 0.2%