Well, I figured out how to use
DotNetNuke.Common.GetPortalSettings.ActiveTab.SkinPath
to locate the current directory.
What we're trying to do is pull in an .ascx from the portal's skin directory that has a custom layout. However, the controls on the differnt pages will always be the same (with the same ID) from portal to portal, it's just the layout will be different.
Is there a way to grab that file and stuff it into the 'View...ascx' file used by the custom module? Maybe use a placeholder on the View page that we then cram the .ascx from the protal's skin directory into?
Can you stick a user control into another user control using the Page_Load event to determine where directory we're going to pull from?
Is there a better way to do this?
Thanks for any help.