How to include a custom PHP script in TYPO3

This article is covered in detail in the “doc_core_tsref” here:


Check the article “1.12. PHP include scripts” and 1.13. Case story for detailed info.

In short we can easily include a script in two ways.

Both these code must be written in the setup section of a template record.

  1. Using the CONFIG object.
    config.includeLibrary = fileadmin/templates/myscript.php
  2. Using the PAGE object.
    page.100.file = fileadmin/templates/myscript.php

That should do the trick. Fo more info I suggest that you please refer “doc_core_tsref“.

Suckerfish dropdown menu sticking in ie7 ?

Add the following code in to your css

#topmenu li:hover{



This will fix the dropdown menu sticking ( dropdown menu not folding out ) problem in ie7.