[TYPO3-dev] New page type calling plugin through Typoscript
Helmut Hummel
helmut.hummel at typo3.org
Tue Sep 16 19:33:16 CEST 2014
Hi Olle!
On 16.09.14 14:56, Olle Haerstedt wrote:
> Hm, maybe `settings.productid = page:productid`.
>
> But that's not really what I want still. This is the function signature:
>
> public function showAction(\Wd\Domain\Model\Product $product)
>
> I want to feed `page:productid` (the uid) to the action so that it instantiates the $product
> object automatically, just like it would do if it was called from, say, a link action. Is this
> possible?
There is, but I'm not sure if this is the right way to do it.
Can you more generally describe what you want to achieve?
Kind regards,
Helmut
--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-dev
mailing list