Using DNN (dotnetnuke, dnnsoftware) CMS, does anyone have any idea how to split up skin ascx files (eg. myskin.ascx that uses header.ascx and footer.ascx) but still have the ability to use DNN panes in these header and footer skins?
I’m having some luck but it’s not working 100% yet.
A very old post, and a not so old post kind of describes what I’m talking about: https://www.dnnsoftware.com/forums/threadid/302650/scope/posts
Custom module with possibility to add modules into module to create an expander module in DNN 9.2
Basically I’m trying to split the headers and footers from my skins for maintainability. (keeping functionality of panes inside the headers and footers, for example for shopping cart modules)
edit: just registering the control and adding it isn’t enough, the child ascx needs to be able to access the DNN panes functionality
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
You should be able to use <!--#include file="header.inc"-->
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0