开发者

Create / integrate a service extension

开发者 https://www.devze.com 2023-02-05 18:00 出处:网络
I need to create an extension in TYPO3. I created one using the kickstarter and built a service. Now I need to call the service on every page request. I tried to inser开发者_高级运维t the service like

I need to create an extension in TYPO3. I created one using the kickstarter and built a service. Now I need to call the service on every page request. I tried to inser开发者_高级运维t the service like i would insert a plugin;

page.100 < plugin.tx_myext_sv1

or calling a userFunc

page.100 = USER

page.100.userFunc = tx_myext_sv1->process

but either one of them is working. How to do it the right way?


Solved. Just create a frontend extension, add a frontend plugin and check the example ts to insert it on every page.

0

精彩评论

暂无评论...
验证码 换一张
取 消