Download the PHP package b13/newspage without Composer

On this page you can find all versions of the php package b13/newspage. 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 newspage

Newspage

This extension provides a new doktype to be used for news that need to have flexible content, e.g. tt_content elements.

The new doktype that is registered is doktype=24.

Plugins

This extension registers 3 Plugins:

Filters

This plugin comes with a couple of filters pre-shipped:

Custom Filters

If you want to create your own filters, you can register them in your ext_localconf.php with the following call

Your class should implement the B13\Newspage\Filter\FilterInterface and therefore implement the functions getItems() and getQueryConstraint().

The function getItems() is used to get all possible values for the filter (both for the plugin settings, as well as the frontend filter).

getQueryContraint() is used to add the filtering restriction to the query in the list plugin. This function can also return null if not all required values are set, or you want to filter everything in the front end using JavaScript.

For an example take a look at the two filters provided by this extension.

If you want to enable the backend plugin filter, you should provide a FlexForm definition that selects the data to filter by. This file then needs to be passed as the fourth argument when registering the filter.

The created field is automatically passed as settings.prefilters.name with the name you registered it with.

For an example take a look at EXT:newspage/Configuration/FlexForms/Filter/Category.xml

Assets

At b13 we often use additional page types (doktype) for categories, overview pages, and tags. This extension adds a number of assets ready to use for your own custom doktypes:

Icon Identifier Icon
apps-pagetree-newspage-page
apps-pagetree-newspage-article
apps-pagetree-newspage-category
apps-pagetree-newspage-overview
apps-pagetree-newspage-tag
mimetypes-newspage-page

Page Layout edit mode

In the page module layout view, the most important properties (title, category, media, slug, date) can be edited without leaving the layout view. This behavior can be disabled in the extension settings ('layout_edit_mode' => '0') to display a regular page view.

To customize the fields, use the dedicated tx_newspage_layout palette:

ToDos


All versions of newspage with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
typo3/cms-core Version ^11.5 || ^12.4
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 b13/newspage contains the following files

Loading the files please wait ....