Download the PHP package zeroseven/z7-blog without Composer

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

maintenance-status

TYPO3 blog extension

DEPRECATED

This extension is replaced by the pagebased_blog (powered by pagebased), it's new and shiny successor with more functionality and a huge perfomance boost.

After years of developing and maintaining the z7_blog, we have upgraded the whole experience. We have put all of our experience with this extension into it's successor.

Version 1.4 was the last feature update this extension will receive. Thank you for using and liking our blog extension in the past.


:interrobang: Why another blog extension?

For the best developers

We love TYPO3 developers and TYPO3 developers love this extension. It’s never been so easy to bring a blog to a TYPO3 page, to customize it and put information where they belong. Extend the Extbase models, synchronize the content on post pages or invent new filter arguments for ViewHelpers or the repository with just a bunch of lines of code. It’s totally up to you.

Want a RSS-Feed? Or a comments function? This extension is built highly modular: Whole features are easily installed or removed or you develop your very own features for the blog. This way, you’ll always only have the exact amount of features and configuration that you really need. Speaking of need: you really need this extension!

Oh by the way, we support multi language and multi domain setups of course.

For the proficient editors

We love TYPO3 editors and TYPO3 editors love this extension. It’s never been so easy to maintain and manage blog posts and categories, to assign tags and to output all that filtered and controlled on a TYPO3 page. Since this works as usual with pages and content elements you can start instantly. Furthermore the backend supports you with automated post sorting in the page tree, autocompletion and many more useful tools to help you get the job done fast.

For the successful SEOs

We love SEO people and SEO people love this extension. A great opportunity to generate content for your website. Since all the posts are „regular“ TYPO3 pages, all the possibilities the TYPO3 core offers are available here as well. This way, you don’t need to worry about open graph data, sitemaps, canonical or meta tags like with record based extensions in this blog. It’s all there. On top, we’ve added structured data for all the posts just like that.

:lollipop: Feature overview

:sparkles: "Subextensions"

Like mentioned: For this extension to have a huge set of features but to not bloat it, these features can be installed or removed with our concept of subextensions. This way, you can also add your own subextensions to the blog.

Here's an overview of existing subextensions:

Extensionkey Description Installation
z7_blog_rss Creates a RSS feed via URL parameters composer req zeroseven/z7-blog-rss
z7_blog_comments Enhances the blog with a comment function composer req zeroseven/z7-blog-comments

:wrench: Installation

Get this extension via composer req zeroseven/z7-blog.

:gear: Setup

Add post details to the template

If you need information about the post on each blog post, there's no need to maintain each one individually. Use the following TypoScript to add blog content to each post at a place of your liking.

… or render the info by a ViewHelper in your template:

… or render a custom content element:

So you see, there are several ways to achieve what you want. Feel free to choose what suits you best!

Use different layouts

Add selectable layouts for the editor via TSconfig. Inside the Fluidtemplate you can use conditions, depending on the variable {settings.layout}.

:warning: The CType can be overridden by the TCA configuration contentLayoutKey.

Extend models and demands classes

It's possible to extend a domain model or a demand class, by adding your own traits.

your_extension/Classes/Domain/Traits/PostModel.php:

your_extension/Classes/Domain/Traits/PostDemand.php:

your_extension/ext_localconf.php:

JavaScript events

The extension triggers various useful JavaScript events regarding the pagination of blog posts in the frontend. Our custom triggers always start with z7_blog to make them distinguishible from potential other custom events. Currently the available events are

Event name What it does
z7_blog:ajax:statechange Triggered whenever the state of the ajax request changes
z7_blog:ajax:send Triggered when the ajax call is started (for example the "load more" buttons has been pressed)
z7_blog:ajax:done Triggered when the ajax call has come to an end, no matter if successful or not
z7_blog:ajax:success Triggered when the ajax call successfully returned an answer (state 200)
z7_blog:ajax:error Triggered when the ajax call returned an error
z7_blog:addToList:complete Triggered after the new list items have been added to the DOM

An example implementation could look like this:

:point_up: Tip: The z7_blog:addToList:complete event trigger also hands over various variables you can nicely use to modify them more. For example all new items that just have been added to the list will be handed over.

SEO config

If filters are used as GET parameters, it is often advised to exclude them from being crawled. Especially when having a mulitselection of tags and topis, there can quickly be thousands of combinations being crawled.

Example robots.txt:

Structured data

Every post automatically gets structured data. If you want to expand these, you can edit it via TypoScript.

Example:

To create a new @type, you can prefix it with the corresponding type in the configuration.

Custom conditions for fluid templates and TypoScript

Our blog offers custom conditions to work with in your fluid templates and your TypoScript setup. It's best shown by providing a simple example. Let's say you want to add some extra content to all headers, but only on blog posts:

Fluid:

TypoScript:

For TYPO3 12, there are only 2 conditions available:

You can also integrate it's usage in the standard ifViewHelper in the fluid template to achieve even more flexibility:

Check out all custom conditions the z7_blog has to offer in the Classes/ViewHelpers/Conditions directory.

:construction: Todo:


All versions of z7-blog with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^12.3
ext-json Version *
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 zeroseven/z7-blog contains the following files

Loading the files please wait ....