More in this section

Forums / Developing with Sitefinity / Customising NewsList(NewsView) Control

Customising NewsList(NewsView) Control

2 posts, 0 answered
  1. Johan Lausbcher
    Johan Lausbcher avatar
    10 posts
    08 Jul 2009
    28 Jul 2009
    Link to this post
    HI There guys

    I'm trying to fidn a way to modify the existing NewsView control that is being used on one of our CLients website.

    I have read / search and tried to implement some of the techniques described on the blogs / forums but still i'm not getting any success.

    Currently we have just a simple NewsView Control that is dropped on the Homepage, and then thatofcourse displays the News Article items that is defined under the News Module.

    I wanting to find a way to just change the layout structure for the News Items that are being displayed , for ex. currently they are displaying below each other as list , but i need them to appear horizontally instead of vertically

    The project was orginally designed in Sitefinity 3.2 and we did manage to modify (i would say rather "Hack") the way the news items appear the way we want to, but since i'm currently rebuilding the site from scratch in SF 3.6 and i know its possible to apply a custom control template to an existing control like the NewsView control, in order to define your own layout if you want to., i rather want to do it the right way.

    I first hoped that i could just copy the old existing NewsList control together with its .resx and the CSS file it uses
    into the new 3.6 project but I cant seem to find any NewsList control under the SF 3.6 control templates. I think there were certain structure changes with the new 3.6 version

    I then tried the '' option , by trying to map the NewsView control within Sitefinity to the existing NewsList Control(and all its related files) that i've copied into the new 3.6 websites' project folder: "Sitefinity/Admin/ControlTemplates/News/ "
    but then gives me different errors inside of Sitefinity.

    Because i'm not really dedicated programmer/developer , so I was hoping you guys could help me in simple step by step basis (if possible) on how i could get thelayout change on the NewsView control.

    If i need to edit and customise the layout in Visual Studio and then just find a simple enough way to apply the new layout on the existing NewsView control , that would be great
    or alternatively if there would be a way to use the exsiting NewsList control with the existing CSS style sheet and just place it in the correct place so that Sitefinity will be able to pick it up , so that it will display as it did in the 3.2 version of the Website.

    Any help would be greatly appreciated


    Johan Laubscher
    BlueAnt Productions
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    28 Jul 2009
    Link to this post
    Hello Johan Lausbcher,

    Please take a look at the other thread you opened. We sent an reply there.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered