Thanks, I have considered how to do this.You could try this approach in your portal extension (remember to change the include code to the new twig syntax):
viewtopic.php?p=14533096&hilit=include+ ... #p14533096
If that doesn't work, since the portal itself is a custom page, you could add{% EVENT index_body_stat_blocks_before %}
(or whatever the event name is that you actually use for forumgoal)
to yourportal.html
file, which should add the event that you use for your forumgoal and whatever else uses that event to your portal as well.
The only way that makes sense, is to copy the code to the portal ext.
Otherwise users will be forced to install the other ext to make it work on portal. I dont think its a good idea.
Statistics: Posted by Stoker 4.0 — Fri Jun 21, 2024 9:31 am