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

Forums / Bugs & Issues / Autogenerated News Page does not contain Footer

Autogenerated News Page does not contain Footer

5 posts, 1 answered
  1. Johanna
    Johanna avatar
    5 posts
    Registered:
    13 May 2013
    12 Dec 2013
    Link to this post
    Hey,
    i got a Page Template with an Menu and a Footer. I use that template for a News List Page. The problem is, that if i click on a news item, the auto genrated detail page does not have the Footer. Is this behaviour the way it is supposed to be?
    Greetings,
    Johanna
  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    14 Dec 2013
    Link to this post
    Hello Johanna,

    The auto-generated page has its own template. You could update it by:
    - Open 'Edit' menu on the news widget
    - Select 'Single Item Settings' tab
    - Select in the 'Detail templates' drop-down menu the template
    - Click 'Edit selected template'
    - Modify the template
    - Save the changes
    or check in this article.

    Alternatively, you could create a dedicated page with your own template (choose not show in navigation option, if needed)  and just add the news widget on it, than:
    - Open 'Edit' menu on the initial news widget (where the all news are listed)
    - Select 'Single Item Settings' tab
    - Select 'Selected existing page ...'
    - Choose your page
    - click 'Save'

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Johanna
    Johanna avatar
    5 posts
    Registered:
    13 May 2013
    16 Dec 2013
    Link to this post
    Thanks for the Reply,
    I know the two possibilities you mentioned. My problem is, that i can't include my footer in the widget template because it is implemented with the MVC framework.  The only option i see is to insert the plain html into the template, which i try to prevent.
    But im confused why the footer is omitted anyway. Because the option says that the autogenerated news page has the same layout as the page where i inserted the news control.  But it hasn't. 
    I added an example. On the screeenshot you can see the black footer is existent for the News List. But in the detail page it is missing.
    Regards,
    Johanna
  4. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    19 Dec 2013
    Link to this post
    Hello Johanna,

    In case you need to use MVC widget, you need to override the "HandleUnknownAction" method in your controller:
    protected override void HandleUnknownAction(string actionName)
      {
         var model = new YourWidgetModel();
        // Implement you model (for example)
         model.Message = "Unknown Action!";
     
         View("Default", model).ExecuteResult(this.ControllerContext);
       }

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  5. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    19 Dec 2013
    Link to this post
    Hello,

    In addition to the information below, you could check also the blog post related to:

    New MVC Goodness in Sitefinity 6.2

    I hope the above blog post will be useful also.

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 1 answered