[TYPO3-english] Instantiate controller in eID

Markus Klein klein.t3 at mfc-linz.at
Tue Jun 3 11:42:20 CEST 2014


Example (from non-extbase ext) for sending json data:



myextAjax = PAGE
myextAjax {
	typeNum = 4654648
	10 < plugin.tx_myext_pi1

	config {
		disableAllHeaderCode = 1
		xhtml_cleaning = 0
		admPanel = 0
		debug = 0
		enableContentLengthHeader = 1
		sendCacheHeaders = 0
		index_enable = 0
		additionalHeaders = Content-type: application/json
	}
}



Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Iban
> Sent: Tuesday, June 03, 2014 10:48 AM
> To: TYPO3 English
> Subject: Re: [TYPO3-english] Instantiate controller in eID
> 
> Hello,
> 
> I don't know about TS pages.
> Could you explain me where to look?
> 
> Thank you so much.
> 
> Best regards,
> Iban.
> 
> El 03/06/2014 10:43, Markus Klein escribió:
> > Hi!
> >
> > That sounds like lots of dependencies to the framework.
> > I'd suggest to go for a TS page, you'll will be much happier than with eID.
> >
> > Kind regards
> > Markus
> >
> > ------------------------------------------------------------
> > Markus Klein
> > TYPO3 CMS Active Contributors Team Member
> >
> >
> >> -----Original Message-----
> >> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> >> bounces at lists.typo3.org] On Behalf Of Iban
> >> Sent: Tuesday, June 03, 2014 10:29 AM
> >> To: TYPO3 English
> >> Subject: Re: [TYPO3-english] Instantiate controller in eID
> >>
> >> Hello!
> >>
> >> Thank you for your quick answer!
> >>
> >> In that function, I'd like to instantiate a model class, insert data
> >> in the database and send an email.
> >>
> >> Can I do that with an eID?
> >>
> >> Best regards,
> >> Iban.
> >>
> >> El 03/06/2014 10:26, Markus Klein escribió:
> >>> Hi!
> >>>
> >>> Well, it depends on what the function wants to do.
> >>> If it requires all the Extbase magic for configuration and stuff,
> >>> eID is the
> >> wrong way and you should go for a dedicated page-type in TS.
> >>> Kind regards
> >>> Markus
> >>>
> >>> ------------------------------------------------------------
> >>> Markus Klein
> >>> TYPO3 CMS Active Contributors Team Member
> >>>
> >>>> -----Original Message-----
> >>>> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> >>>> bounces at lists.typo3.org] On Behalf Of Iban
> >>>> Sent: Tuesday, June 03, 2014 10:23 AM
> >>>> To: TYPO3 English
> >>>> Subject: [TYPO3-english] Instantiate controller in eID
> >>>>
> >>>> Hello,
> >>>>
> >>>> I created a TYPO3 extension (with its controllers, models, views...).
> >>>> Now, I'd like to create an eID and in this eID, instantiate a
> >>>> controller and call to a specific function of that controller.
> >>>>
> >>>> Do you know any solution?
> >>>>
> >>>> Best regards,
> >>>> Iban.
> >>>> _______________________________________________
> >>>> TYPO3-english mailing list
> >>>> TYPO3-english at lists.typo3.org
> >>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >>> _______________________________________________
> >>> TYPO3-english mailing list
> >>> TYPO3-english at lists.typo3.org
> >>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list