Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1314

Extension Writers Discussion • Re: Adding ext to custom page (portal)

$
0
0
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 your portal.html file, which should add the event that you use for your forumgoal and whatever else uses that event to your portal as well.
Thanks, I have considered how to do this.
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



Viewing all articles
Browse latest Browse all 1314

Trending Articles