Footer not displaying in widget list

Footer not displaying in widget list

This question has suggested answer(s)

We've created a Footer widget defined below:

using Telligent.Evolution.Components;
namespace CustomWidgets.Common
{
public class Footer : ExternallyImplementedFooterFragmentBase
{
public Footer() : base("~/CustomWidgets/Common/Footer.ascx")
{

}

public override string FragmentDescription
{
get { return "Footer use throughout the site"; }
}

public override string FragmentName
{
get { return "Footer widget"; }
}
}
}

We have added the XML below to all 3 theme.config files:

<FooterFragments inheritProperty="inheritFooters" editable="true">
<FooterFragment type="CustomWidgets.Common.Footer, CustomWidgets" />
</FooterFragments>

The class is in a separate library from the Web project yet when go to the page editor and try to edit the footer, the widget is not in the list of available widgets to select. The user control the widget points to does exists and the relative page is correct. As a side note, if we change the footer to inherit from ExternallyImplementedConfigurableContentFragmentBase is does display in the widget list. Any help here would be much appreciated. We are using Telligent 6.1.

Regards,

Jean

All Replies
  • I am assuming from the namespace we are talking Telligent Community 6.x?
     
    My question would be is why not use the widget studio to create your widget and eliminate the ASCX and dll all together?
     
    http://telligent.com/community/developers/w/developer6/using-the-widget-studio.aspx
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: jvictor [mailto:bounce-jvictor@communities.telligent.com]
    Sent: Thursday, May 10, 2012 3:57 PM
    To: bugsandissues@communities.telligent.com
    Subject: [Bugs and Issues - Telligent Community] Footer not displaying in widget list
     

    We've created a Footer widget defined below:

    using Telligent.Evolution.Components;
    namespace CustomWidgets.Common
    {
    public class Footer : ExternallyImplementedFooterFragmentBase
    {
    public Footer() : base("~/CustomWidgets/Common/Footer.ascx")
    {

    }

    public override string FragmentDescription
    {
    get { return "Footer use throughout the site"; }
    }

    public override string FragmentName
    {
    get { return "Footer widget"; }
    }
    }
    }

    We have added the XML below to all 3 theme.config files:

    <FooterFragments inheritProperty="inheritFooters" editable="true">
    <FooterFragment type="CustomWidgets.Common.Footer, CustomWidgets" />
    </FooterFragments>

    The class is in a separate library from the Web project yet when go to the page editor and try to edit the footer, the widget is not in the list of available widgets to select. The user control the widget points to does exists and the relative page is correct. As a side note, if we change the footer to inherit from ExternallyImplementedConfigurableContentFragmentBase is does display in the widget list. Any help here would be much appreciated. We are using Telligent 6.1.

    Regards,

    Jean

  • We are building this for a client and that is actually in the requirements. That is one of our many constraints. Even it was not, I would love to know what we are doing wrong.

  • I believe I answer this for you here: telligent.com/.../1356942.aspx