[TYPO3] AJAX Request

Dominik Schmich ICEMANno1 at gmx.de
Tue Apr 3 15:01:45 CEST 2007


Hi,

I'm useing the dojotoolkit which I got whinin the extension mc_dojo. Everything works fine, but now I got the Problem, how to get Data without the whole Frameworkdata.
Here a quick example:
If I call ?tx_extension_pi1[cmd]=getGroups I want to get only the fe_groups which I get from my function. What I get are the fe_groups and all the usual stuff:

What I want:
1,Professor,2,Student,3,Mitarbeiter,4,Gast,5,Sekretariat,6,Früherer Mitarbeiter,7,Lehrbeauftragter,8,Sekretariat

What I get:
1,Professor,2,Student,3,Mitarbeiter,4,Gast,5,Sekretariat,6,Früherer Mitarbeiter,7,Lehrbeauftragter,8,Sekretariat<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/infweb/typo3conf/ext/hsrt_downloadcenter/pi1/class.tx_hsrtdownloadcenter_pi1.php:63) in <b>/opt/lampp/htdocs/infweb/typo3_src-4.0.5/typo3/sysext/cms/tslib/class.tslib_fe.php</b> on line <b>2853</b><br />
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- 
	This website is powered by TYPO3 - inspiring people to share!
	TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
	Information and contribution at http://typo3.com/ and http://typo3.org/
-->

Any suggestions?
ICEMANno1

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the TYPO3-english mailing list