Naatan
Well-known member
I'm developing a small widget for an upcoming addon that I'd like to dynamically append based on an option. I will either use template hooks or embedded templates as places where this can be inserted.
The only problem is, I can't really figure out a way to dynamically embed a template inside another template.
For example, say PAGE_CONTAINER is being loaded and it calls template_create event for the template 'ad_below_top_breadcrumb', now I want to append another template (let's call it 'sample_template') right after 'ad_below_top_breadcrumb'.
Is this possible? I'd prefer to do this without template edits (be they manual or otherwise).
Thanks
The only problem is, I can't really figure out a way to dynamically embed a template inside another template.
For example, say PAGE_CONTAINER is being loaded and it calls template_create event for the template 'ad_below_top_breadcrumb', now I want to append another template (let's call it 'sample_template') right after 'ad_below_top_breadcrumb'.
Is this possible? I'd prefer to do this without template edits (be they manual or otherwise).
Thanks