More in this section

Forums / Developing with Sitefinity / Modifications to External Template not showing

Modifications to External Template not showing

2 posts, 0 answered
  1. John Graham
    John Graham avatar
    3 posts
    Registered:
    01 Oct 2009
    05 Nov 2009
    Link to this post
    I've mapped to external templates for the admin side, but can't seem to do it on the public facing part of the site.   I suspect I am missing something simple.    Config file below...

    <viewMap> 
        <!--Inserts an event item--> 
        <viewSettings hostType="Telerik.Events.WebControls.Admin.EventsItemNew" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Events/EventsItemNew.ascx" /> 
        <!--Edits an event item--> 
        <viewSettings hostType="Telerik.Events.WebControls.Admin.EventsItemEdit" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Events/EventsItemEdit.ascx" /> 
        
        <viewSettings hostType="Telerik.Events.WebControls.EventsView"
          <additionalTemplates> 
            <add key="ItemListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Events/ContentViewItemView.ascx" /> 
            <add key="SingleItemTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Events/ContentViewSingleItemView.ascx" /> 
          </additionalTemplates> 
        </viewSettings> 
      </viewMap> 
      


    I then drug the events control on the the page when I was editing it.   I've made changes to both files, but I'm not seeing them online.   I've restarted the App after every change to the config file, and even sometimes when changing the .ascx file (I know not needed)  I suspect I'm missing something simple.

    Assistance is appreciated.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Nov 2009
    Link to this post
    Hi John Graham,

    Please try to approach described in this blog post.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered