[FLOW3-general] TYPO3v5 Phoenix Plugin Development
Ivan z
ivan.z77 at hotmail.com
Thu Mar 22 19:31:37 CET 2012
Thank you very much! The TYPO3.Conference package and the plugin on the demo page is a great help!
But what I don't know is, how can I add multiple instances of a plugin with different settings?
For example: Plugin XYZ has a configurable parameter called "site". Now I want to have two instances of this plugin on the demo page, one time with site-Parameter = 1 and the other with site-Parameter = 2, so they show different contents.
Do you know how I can achieve this?
Regards
Ivan
> From: christian.mueller at typo3.org
> Date: Thu, 22 Mar 2012 14:47:20 +0100
> To: flow3-general at lists.typo3.org
> Subject: [FLOW3-general] Re: TYPO3v5 Phoenix Plugin Development
>
> Hey Ivan,
>
> cool that you choose to work with Phoenix for your student project. You
> might want to take a look at the TYPO3.Conference package in git, it is
> actually used as a plugin in our conference websites, so this is a life
> example. Or just look at the little registration you see on the demo
> homepage.
>
> All relevant code to that is in those three files:
>
> Packages/Sites/TYPO3.PhoenixDemoTypo3Org/Classes/Controller/RegistrationController.php
>
> Packages/Sites/TYPO3.PhoenixDemoTypo3Org/Classes/TypoScript/Registration.php
>
> Packages/Sites/TYPO3.PhoenixDemoTypo3Org/Configuration/Settings.yaml
>
> I think you will see how the normal FLOW3 controller is configured as a
> plugin. So you need to do the same for your package and controller(s).
>
> Cheers,
> Christian
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list