1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / SP 1 NewsView LayoutTemplatePath not loading template

SP 1 NewsView LayoutTemplatePath not loading template

6 posts, 1 answered
  1. Michael Diolosa
    Michael Diolosa avatar
    11 posts
    Registered:
    29 Jul 2009
    25 Mar 2011
    Link to this post
    I should preface this with all my NewsViews were loading the correct templates prior to my update to SP 1.

    For some odd reason when I upgraded to SP 1 all of my NewsViews went to their default template. I am assigning the template for my list view via: Edit > Advanced > ControlDefinition > Views > NewsFrontEndList > TemplatePath.

    There is no TemplateKey or TemplateName assigned in the form.

    Any help would be greatly appreciated, there does not seem to be any errors in the logs; it just seems as though it's not even trying to load any template. This seems to be the case with the blog control as well.

    Unfortunately I wanted to migrate everything over to Design > Widget Templates; but I am unable to bind to the Container object within lists using this method which I must do in order to use a different template for the first item in the list (the template is too different for me to use just CSS to accomplish this).
  2. Michael Diolosa
    Michael Diolosa avatar
    11 posts
    Registered:
    29 Jul 2009
    30 Mar 2011
    Link to this post
    I must say I'm a little disappointed with the lack of response on this topic, I've re-submitted as a support ticket, it's been over 48 hours and I still have not received any response on this topic. Not even a "We're looking into this."

    I'm not quite sure what I'm paying for with the price hike for Sitefinity 4, but support is certainly not it; it seems more like the extra cost is in new bugs and missing functionality from Sitefinity 3.7.

    Consider me an unhappy customer.
  3. Vlad
    Vlad avatar
    498 posts
    Registered:
    19 Jun 2017
    31 Mar 2011
    Link to this post
    Hello Michael Diolosa,

    We are sorry for the late response. This is a bug in the SP1 and we will fix for the upcoming Q1 Release.
    Unfortunately, the workaround, which we can provide you is not good enough, but it should do the trick. If you are not pressed by the time, you can wait for the new release.

    Here is the workaround:
    Update with SQL script sf_presentation_data and change app_name of the records for the templates you use  external templates. For example you can disable all database templates for news with the following scripts.:
    UPDATE [SF_1210].[dbo].[sf_presentation_data]
    SET app_name = '[DISABLED]'
    WHERE area_name = 'News'
    Just don't forget to revert this changes after upgrading to the next release.

    Your telerik points have been updated for reporting this issue.

    Best wishes,
    Vlad
    the Telerik team
    Answered
  4. Michael Diolosa
    Michael Diolosa avatar
    11 posts
    Registered:
    29 Jul 2009
    31 Mar 2011
    Link to this post
    Thank you for getting back to me, I'm sorry for writing such an arsey email but unfortunately I AM pressed for time. I will do this, I'm hoping this does fix the problem. I will write back with any information I may have on how well this solution works. I don't mind disabling the internal templates as I'm not using any of them, all templates built we are custom coding so this shouldn't have any problems with the project.
  5. Michael Diolosa
    Michael Diolosa avatar
    11 posts
    Registered:
    29 Jul 2009
    31 Mar 2011
    Link to this post
    Thank you again, this has definitely fixed the issue. I have marked down a note to replace the app_name back to the previous settings when the Q1 Release is launched.
  6. Michael
    Michael avatar
    59 posts
    Registered:
    02 Nov 2010
    06 Apr 2011
    Link to this post
    You have got to be kidding me.  Was this "bug" noted in the release notes? Doubt it.   Now all my custom templates are broken from anything from search results, to download list, pretty much anything with a LayoutTemplatePath  set to my custom ascx templates does not work. 
6 posts, 1 answered