Follow Sebastiaan de Jonge on Twitter
Sebastiaan de Jonge

Blog

14Feb

PHP: Extra array functions

Posted on February 14, 2011 in PHP by Sebastiaan de Jonge

During my recent PHP/TYPO3 adventures I had to come up with some extra array functionality to grab my desired data from an array. Shockingly I couldn't find any official PHP way to do this. So I created my own.

10Jan

Advanced Sitemaps 1.1.0

Posted on January 10, 2011 in Advanced Sitemaps by Sebastiaan de Jonge

After some time of silence it was time for an update on my advanced sitemaps extension. It took a while but all open bugs and feature request have been processed, and I'm proud to announce that version 1.1.0 of this extension is now available from the TER.

28Dec

PHP: Dividing an array into equal pieces

Posted on December 28, 2010 in PHP by Sebastiaan de Jonge

Something I needed to do a while ago, and I thought it wouldn't be a bad idea to share it. It's a quick way to divide an array into equal segments. Just take a look at the function code.

22Dec

Create page teasers using just TypoScript

Posted on December 22, 2010 in TypoScript by Sebastiaan de Jonge

Sometimes I wonder how far you can actually go in using just TypoScript to achieve your technical challenges. Today I will show how you create a simple page teaser with multilingual support by just using some TypoScript.

21Dec

Translated page titles made simple with TypoScript

Posted on December 21, 2010 in TypoScript by Sebastiaan de Jonge

This is something really cool I had to create recently for one of my projects. I actually had to create a page teaser, which due to the simplicity of the teaser I decided to do with TypoScript (I will show how to make the teaser in the next post). First I will show how you can get the translated page title without creating any weird constructions.

13Nov

Time for something new!

Posted on November 13, 2010 in Personal by Sebastiaan de Jonge

I have to admit it has been a while since I wrote anything. For that I'm really sorry. There are several reasons for this. So let me tell you a little about what's going one.

27Oct

Using the database API

Posted on October 27, 2010 in Extension Development by Sebastiaan de Jonge

Many times, when taking a short peek through new extensions in the TER, I find plenty of extensions that use PHP's native MySQL functions to access the database. In my previous post I already described why this something wrong, and why you should avoid it. In this article I will show you how it should be done, and how you can write less and cleaner code by doing so.

13Oct

10 Pitfalls for extension developers

Posted on October 13, 2010 in Extension Development by Sebastiaan de Jonge

While developing and reviewing TYPO3 extension, you occasionally come upon pretty funny and sometimes disturbing stuff. At some point we all have to learn new things. So we can't expect it all to go right and well from the start.

11Oct

Code Snippets

Posted on October 11, 2010 in Extensions by Sebastiaan de Jonge

Some days ago I got a request from someone who was interested in my code snippets plugin. At that time I couldn't really offer the extension, it was simply too specific for my own website. Now that I've made some changes, I feel more comfortable with making it public.

6Oct

Spoofing TCA columns

Posted on October 6, 2010 in Extension Development by Sebastiaan de Jonge

Sometimes, the normal approach for adding extra fields to a table will just not do. For example, if you don't really know what the other table is going to be. I came across this challenge some days ago. I was working on my sitemaps extension and wanted to have some nice options to use inside Google Sitemaps. To keep it flexible I didn't want to predefine the tables. So how do we add fields to a table, without actually adding them to a table?

Search

Categories

Tags

Archive

Blogroll

Syndicate