[Typo3] PHP Include in TypoScript
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Thu Feb 24 22:16:20 CET 2005
James Walsh wrote:
> I am trying to convert an existing site to TYPO3.
> I need dynamic header menus as in my current site, and
> I achieve this via PHP at the moment. All i want to do
> is get Typoscript to call the php file like currently.
>
> Can someone please tell me precisely what TypoScript
> code I should use to get it to include HTML generated by
> a PHP script(below). The code below is the php include
> code I am using on my current php website.
>
> <?php include_once 'fileadmin/header.php'; ?>
>
> As a newbie, I am drowning(!) in the TYPO3 documentation but still
> can find this simple (you would think!) code .
>
> Thanks
> James
look here and this might help you a bit.
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/268/?tx_maillisttofaq_pi1%5Bmode%5D=5&tx_maillisttofaq_pi1%5Bsword%5D=tyler%20kraft&tx_maillisttofaq_pi1%5Banswered_only%5D=0
this is an older way to do it, but the idea is similar to the newer method.
also check the TSref documentation and the mailing list archives.
More information about the TYPO3-english
mailing list