When creating my own containers, I haven't been able to figure out what causes the inline editing of the module titles to work or not work. (Yes, the Admin usability settings are enabled.) If I have the title element out by itself, the edit-on-hover works, but if I wrap it in another tag, it stops working. I don't have this problem with the body content of the module at all.
For instance, this works fine:
<%@ Control language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ICON" Src="~/Admin/Containers/Icon.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="VISIBILITY" Src="~/Admin/Containers/Visibility.ascx" %>
<
dnn:TITLE
runat
=
"server"
id
=
"dnnTITLE"
CssClass
=
"TitleHead"
/>
<div id="ContentPane" runat="server" class="Normal"></div>
But, if I wrap it like so:
<
h2
><
dnn:TITLE
runat
=
"server"
id
=
"dnnTITLE"
CssClass
=
"TitleHead"
/></
h2
>
or
<
span
><
dnn:TITLE
runat
=
"server"
id
=
"dnnTITLE"
CssClass
=
"TitleHead"
/></
span
>
then the edit pencil won't appear on hover anymore.
I know that this works on the MinimalExtopy containers and I've been going back and forth between those and mine trying to see the difference, but I just don't see it. I really need this feature, so that people don't have to go into settings to change the module title. I have been testing with 2 modules on the same page, 1 with a MinimalExtropy container and 1 with mine. Can anyone tell me if I'm missing something?