More in this section

Forums / General Discussions / Changes to the News - Single template

Changes to the News - Single template

1 posts, 0 answered
  1. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    24 Apr 2006
    20 Nov 2010
    Link to this post

    I want to display the category a news item is associated to and modified the News -Single item template and added the following markup:

    Category: <br/>
    <sitefinity:HierarchicalTaxonField ID="HierarchicalFieldControl" runat="server" TaxonomyId="E5CD6D69-1543-427b-AD62-688A99F5E7D4" DisplayMode="Read" WebServiceUrl="~/Sitefinity/Services/Taxonomies/HierarchicalTaxon.svc" Expanded="false" TaxonomyMetafieldName="Category" ExpandText="ClickToAddCategories" BindOnServer="true" />

    Now when viewing a single news item, I do not see the categories. Is this a known bug?


    Never mind I solved it. I didnt know that I had to select the default template from the news control. I thought it would select the first available by default.
1 posts, 0 answered