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

Forums / Bugs & Issues / Trouble with Search/News controls

Trouble with Search/News controls

4 posts, 0 answered
  1. Bryan
    Bryan avatar
    2 posts
    Registered:
    11 Aug 2010
    11 Aug 2010
    Link to this post

    Hi

    I have a news control that’s on my homepage and if a user clicks on a news item it takes them to a page that’s “full width” so they can read away without any distractions.

    The problem is in order to give the page a different layout when a user clicks on a news title I must create a new page in sitefinity CMS and give that page the “full-width” template and place a news view control onto that page.

    Now my main problem comes from the fact that when I perform a search it says that the following url should work:-

    /TestSite/home/10-07-23/testnews.aspx

    The actual url is: -

    /TestSite/full-width/10-07-23/testnews.aspx

    Basically the urls on the homepage and the urls of the news items in the search results don’t match up due to the fact I need to select a page within the cms causing loads of 404s.

    If anybody has any ideas/solutions/advice let me know.

    Best Regards

    Bryan

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Aug 2010
    Link to this post
    Hi Bryan,

    It looks like the article page of the index is not correctly set. The SearchResults item builds the url depending on the article page that is set when you create your index form Administration >> Services >> Search.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Bryan
    Bryan avatar
    2 posts
    Registered:
    11 Aug 2010
    11 Aug 2010
    Link to this post
    Hi Ivan

    What you said worked but the issue I'm having now is that I have two news controls, one showing only the items from the "news category" and another news control only showing items from the "portfolio category" when I create my indexes for the two news controls it seems to be indexing all news items regardless of what settings I've changed on the news controls.


    Best Regards

    Bryan
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Aug 2010
    Link to this post
    Hello Bryan,

    Try hiding some of the controls from your index - How to customize the indexing of html documents

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered