Cast Iron Coding, Inc

TYPO3 Admin's Corner

Click here to return to the TYPO3 Admin's Corner

Stay Connected

Complete the form below to sign up for the CIC newsletter. We send out about one message each month and we do our best to make sure it's full of useful information about TYPO3. We'll never share your email address with a third-party and should you ever change your mind, unsubscribing is a breeze.
TypoScript Techniques

Configuring Extension Output with TypoScript for Extensibility and Reusability

By: Lucas Thurston

7) Create a main() method that ties these three methods together, create some database records, do a little troubleshooting (since, no, I didn't actually test this code), and bingo bango bongo, you've got output.
  Here's the cool thing. Once I have this extension working and another client comes along who wants something very similar, maybe with another field in the staff list, right? I can easily add the TypoScript for another field to my TypoScript template in the TYPO3 backend, and create another extension that extends this extension (instead of pibase) and add a new database field to it and without adding *ANY* new PHP code, I have that field in my output.

Posted on Thursday, September 27, 2007 at 05:20 PM.