...
All,
Regarding how to hide the ControlBar, I found one workaround temporary had to do it via code-infront markup on the DotNetNuke "ControlBar.ascx" as follows...
...in this file...
\admin\ControlPanel\ControlBar.ascx
...this was the code before the change, and the ControlPanel is visible, shown here...
(LessThanChar) asp:Panel ID="ControlPanel" runat="server" (GreaterThanChar)
...this is the code after the change and the ControlPanel is hidden (for all pages, but I am sure I can hack it to show/hide it conditionally here with C# but I ultimately need JavaScript) here..
(LessThanChar) asp:Panel ID="ControlPanel" runat="server" Visible="false" (GreaterThanChar)
...and YES I know it is generally discouraged practice to change the cord DotNetNuke code, but I have it all in source control, and I need to do something and I cannot find the right JavaScript to do this so...
...if you have a better idea, then please LMK, and the seminal question - (How can one hide the ControlPanel via JavaScript?) - is still "unanswered" so please help if you can.
(Yes, I totally agree, we MUST upgrade, and I am pressing the panic button here, but it is a battle and I am low on the totem pole.)
(Yes, I totally agree, we MUST not had code, but this is a weird case, a small internal-lan-only-site, and even a hack will do for now, and I have full backups, and I have source control, but I need to get the go-ahead to do it.)
I will check out what you all have said so far (and I really do appreciate it a lot) and please send more good ideas if you have them.
Thanks.
-- Mark Kamoski
...