Download the PHP package undkonsorten/email-template without Composer

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

Email Template

Extension-Key: email_template

Dependencies:

What does it do?

The Email Templates provides responsive newsletter templates for TYPO3 bases on Foundation for Emails 2 (formerly Inky) (https://get.foundation/emails/docs/). The Foundation-Inky templates can be used directly in fluid and will be translated into a bulletproof oldfashioned HTML table code. This templates can be used to build templates for a Newsletter in TYPO3.

Installation

Composer Install

Use

composer require undkonsorten/email-template

The dependency html_mail_utility will be installed automatically by composer.

Non-Composer mode

Using without composer ist not supported!

Include TypoScript Setup

Include the TypoScript templates for

Include: Page TSConfig

Include for your newsletter folder the pageTsConfig (from extensions):


Configuration

Most of the needed settings can be defined with constants in the TYPO3 constant editor. Important settings are

Look at the TypoScript files in Configuration/TypoScript folders to see which more settings you can use in your own TypoScript template.

Using Foundation Frontend build

Globally install it and check out the rest from the guide [https://get.foundation/emails/docs/]:

It's important to use the output of

If you use the npm run build unused CSS classes might be removed. You should remove inline source mapping from the resulting app.css, though.

To create the app.css run foundation with

app.css

The app.css file will be inlined in markup by the TYPO3 Extension HTMl Mail Utility. The app.css can be found in the dist/css folder.

inject.css

The inject.css will be included in as a style tag in TYPO3.

The inject.scss only be created by the command. There will be an inlined block in the output. Out of this styles you manually need to create the inject.css file and add it to you Css folder (Public Resources).

This helps to keep footprint of included style rules low (just pseudo elements and media queries).

Included CSS files in TYPO3

Defined CSS files via the TS constants:

Page Types

The HTML newsletter is sent out with a custom page type for the mails (see Constants). If the newsletter is shown without this page type the read online link and the unsubscribe link are not rendered.

Newsletter Content

Page Properties of the Newsletter Page

Newsletter Content Elements

The newsletter can display the following content elements

Add rendering of your own content elements or other plugins

To add rendering for your own CTypes or Plugins you need to do following steps in general:

For Plugins theGeneric.htmltemplate inproject/vendor/undkonsorten/email-template/Resources/Private/Content/Templates` is used.

Test your template:


All versions of email-template with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^7.4 || ^8.1
typo3/cms-core Version ^9.5 || ^10.4 || ^11.5 || ^12.4 || ^13.3
undkonsorten/html-mail-utility Version ^1 || ^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 undkonsorten/email-template contains the following files

Loading the files please wait ....