Download the PHP package itplusx/flexible-news without Composer

On this page you can find all versions of the php package itplusx/flexible-news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flexible-news

TYPO3 EXT:flexible_news

TYPO3 Extension flexible_news

License: MIT

Create news articles based on normal pages in TYPO3 and display them as a list in the frontend.

Using pages instead of records has the following advantages:

This extension utilizes EXT:flexible_pages to create a custom "News" pageType and a template for the list content element.

Installation

Extension installation

Installation with composer (recommended)

Installation with the TYPO3 Extension Manager

Use the Extension Key flexible_news in the TYPO3 Extension Manager.

NOTE: This extension requires EXT:flexible_pages to be installed.

Include TypoScript

Base TypoScript

After a successful install just include the TypoScript for the News List CE and you are all set.

CSS TypoScript (optional)

If you want to use the CSS for the News List CE that is shipped with this extension you have to include the Flexible News CSS (optional) TypoScript as well.

Usage

When everything is installed correctly you should see a new page icon above your page tree in the TYPO3 backend. From there you could just pull it down into the page tree like with every other page.

NOTE: If you don't see that icon at first, try to clear the cache and reload the entire page.

List View

You can add the "Pages of selected doktypes" content element to every page to render a list of articles by doktype in the frontend. The content element already comes with a "News" template to render the list accordingly.

Override List Template

You can override the List CE template. To do that you have to extend the FLUIDTEMPLATE rootPaths. You can either do this in your own extension by extending the lib.contentElement TypoScript (as described HERE) or you could use the constants provided by flexible_news:

Extend List Templates

When more News List Templates are required (e.g News List without images) the template select can be extended.

Please have a look at the documentation of EXT:flexible_pages or see how it's done in flexible_news for the "News" template.

Detail View

The detail view is just a view of the page (with the default page template). However sometimes it might be quite useful to have a special page template for just the news articles (e.g to show specific content on every news article).

Adding News Article Page Template

Assuming you want to add social media share buttons to every news article you have to do the following.

Contribution

Any help on this project is very welcome! May it be as code contribution or just an idea for improvement. But we would like to ask you to follow some rules:


ITplusX - Internetagentur & Systemhaus



All versions of flexible-news with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^10.0 || ^11.0
itplusx/flexible-pages Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package itplusx/flexible-news contains the following files

Loading the files please wait ....