[TYPO3-english] Including a TS file into a TS template

piet roorda pietroorda at gmail.com
Sat Dec 13 17:57:35 CET 2008


Hi Antonio
You're about right, but the subpart should be '.txt'
so make your file as a plain text document in your favourite text editor,
save as: AFL-TS.txt
now in the TSconfig of your website root:

<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/africalive/AFL-TS.txt">

and you should be on your way as far as the concept of putting your
TSconfig file in the fileadmin by means of a txt file.

regards,
piet

On Sat, Dec 13, 2008 at 5:24 PM, Antonio Willybiro
<keiser_soze at hotmail.com> wrote:
> okay i got it working, change code to:
> <INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/africalive/AFL-TS.ts">
>
> just added a space after each ":".
>
> Antonio
>
> "Antonio Willybiro" <keiser_soze at hotmail.com> wrote in message
> news:mailman.1.1229182202.10461.typo3-english at lists.netfielders.de...
>> Hi,
>>
>> I want to include a TS file in my website root TS template.
>>
>> Is the following code correct:
>>
>> <INCLUDE_TYPOSCRIPT:source="FILE:fileadmin/africalive/AFL-TS.ts">
>>
>> I have this just after:
>> page = PAGE
>> page.10 = USER
>> page.10.userFunc = tx_templavoila_pi1->main_page
>> ...
>>
>> in my root template
>>
>> It does not seemto work for me. is there something wrong?
>>
>> Thanks
>> Antonio
>>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list