More in this section

Forums / Developing with Sitefinity / Extending Existing Module by adding metafields

Extending Existing Module by adding metafields

2 posts, 0 answered
  1. Kamal
    Kamal avatar
    16 posts
    27 Nov 2010
    03 Jan 2011
    Link to this post

     I want to extend the Generic content module by adding meta fields. I want to add a new meta field named Author  picture . I have added following in Web.config
      <add key="Generic_Content.Author_Picture" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue="" />
    Now I have added two pages for inserting and editing into Admin->Control template ->Generic content  folder
    I din't find the location to download these external template from the Sitefinity site. I added like a normal Pages.
    I placed the following code in Edit page :
    <%@ Register TagPrefix="sfGCn" Namespace="Telerik.Cms.Engine.WebControls" Assembly="Telerik.Cms.Engine" %>

     <sfGCn:ContentMetaFields ID="editMetaFields" runat="server">
     <asp:Label ID="Label5" AssociatedControlID="Author_Picture" runat="server">
     <asp:Literal ID="Literal7" runat="server" Text="Author picture">
     <em id="Em2" runat="server"></em></asp:Label>
     <asp:TextBox ID="Author_Picture" runat="server"></asp:TextBox>

    But this is not working so please let me know what other thing are remaining so that I can add this meta fields in Generic content module.

    I have checked this manual link also but I din't get.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    03 Jan 2011
    Link to this post
    Hi Kamal,

    1. Please check our User Manual, page 214, section Adding Custom Fields.
    2. Please follow this KB to map the external templates.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered