Hi.
I'm pretty new to dw development.
How do I add a custom module so its shown on every page without manually adding it to each page in /Admin?
Could this be done in Page_Load on Default.aspx.cs somehow?
Thanks!
Aksel
Hi.
I'm pretty new to dw development.
How do I add a custom module so its shown on every page without manually adding it to each page in /Admin?
Could this be done in Page_Load on Default.aspx.cs somehow?
Thanks!
Aksel
Hi Aksel,
Welcome to the Dynamicweb world and to this forum.
You can include the output of a paragraph in your template using @Global:Paragraph.Content([ID]).
This means that if you add your custom module to a paragraph with id 87, say, you can put this into your master template
<!--@Global:Paragraph.Content(87)-->
to render the module content on all pages.
Best regards,
Mikkel
Thanks Mikkel! :)
Best Regards
Aksel
You must be logged in to post in the forum