[TYPO3] Running php scripts

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue May 27 15:03:25 CEST 2008


Stefan Asemota wrote:
>     So I added a //PAGE.FILE.TEMPLATE// in the constants section of the 
>   listing of a particular page. The template is  a php file which reads 
>   data from the data base and displays it in form of links! It also has 
>   a mouse-over actions which displays a tooltip containing text. The 
>   problem is that; its not displaying anything in typo3 ;-( (it does 
>   work when it is tested on the server seperatly!).

Yes, it will not work. PHP files must be included in special way to be called by TYPO3. The must return output to TYPO3, not write it to page. It is a long story.

>   I would be so glad if you could give me any hints, cause the client   
> is inpatient and waiting

Well, it is risky to create a web site for client using the system that you do not know well...

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list