Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying TYPO3 Extension Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
TYPO3 Extension Development

TYPO3 Extension Development

4.5 (2)
close
close
TYPO3 Extension Development

TYPO3 Extension Development

4.5 (2)

Overview of this book

Table of Contents (13 chapters)
close
close

Frontend Plugins: The Basics


This section will describe the basics of the Frontend plugins. The main goal of this section is to give the reader an overview and basic understanding of what Frontend plugins are, how they work, and what they look like. The details are discussed later in this chapter.

Concepts

A Frontend plugin is a class or a function that runs as a part of the page content generation process. Typically, Frontend plugins produce some visible content, but they can also be silent and do other tasks.

The simplest possible Frontend plugin looks like this:

function user_myext_plugin() { return 'Hello world!'; }

To call such a plugin, use the following TypoScript:

includeLibs.myext_plugin = EXT:myext/user_myext_plugin.php
page.10 = USER
page.10.userFunc = user_myext_plugin

The first line includes the PHP file with a plugin code. The second line defines that the plugin type is USER. There are several types of plugins. USER is the most common and it means that the plugin's output is cached...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
TYPO3 Extension Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon