Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-20 Thread Sancar Saran
On Wednesday 20 June 2007 12:01:41 Peter Klein wrote: > Hi Sancar. You just have to change the value to include the script tag. > > $GLOBALS['TSFE']->additionalHeaderData[$this->extKey] = ' type="text/javascript" > src="'.t3lib_extMgm::siteRelPath($this->extKey).'res/scripts.js">' >; > > this will

Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-20 Thread Peter Klein
Hi Sancar. You just have to change the value to include the script tag. $GLOBALS['TSFE']->additionalHeaderData[$this->extKey] = ''; this will include a file called "scripts.js" which is located in a folder named "res" inside your extensions folder. -- Peter Klein/Umloud Untd "Sancar Saran" <[

Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-19 Thread Rens Admiraal
Hi Sancar, That's a cleaner way, and I'm sure I've seen the answer to this question in a post on this list. I just can't find it anymore. Op 19-jun-2007, om 15:28 heeft Sancar Saran het volgende geschreven: > On Tuesday 19 June 2007 15:48:12 Rens Admiraal wrote: >> Hi Sancar, > Hi Rens >> I'

Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-19 Thread Sancar Saran
On Tuesday 19 June 2007 15:48:12 Rens Admiraal wrote: > Hi Sancar, Hi Rens > I'm relatively new to Typo also, but I can give you an answer for > your second question :-) > > You can add javascript code to the header using the $GLOBALS['TSFE']- > > >additinalHeaderData array: > > $GLOBALS['TSFE']->

Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-19 Thread Rens Admiraal
Hi Sancar, I'm relatively new to Typo also, but I can give you an answer for your second question :-) You can add javascript code to the header using the $GLOBALS['TSFE']- >additinalHeaderData array: $GLOBALS['TSFE']->additionalHeaderData[] = file_get_contents (t3lib_extMgm::extPath($this->

Re: [TYPO3] Noobie - Javascript Including, Setup Screens

2007-06-19 Thread Sancar Saran
Thanks for reply. Last 2 weeks I'm carving the typo3 docs. My english was limited and most documentation was not helpful. And here my questions 1-) How can I generate setup screens for extensions. (or is there any ability for this) My extensions has several user filled options (for example inf