More in this section
Forums / Developing with Sitefinity / How to hide content on widget detail pages

How to hide content on widget detail pages

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Ross
    Ross avatar
    9 posts
    Registered:
    28 Jun 2013
    11 Jul 2017
    Link to this post

    I've made a dynamic module and have a list and detail pages. I would like to add some text above and below the list on the list page but not show that text on the detail page. 

     

    If I auto-generate the detail page then it has a shorter url and doesn't require another page in the tree but content blocks above and below show on the list AND detail page which I don't want. 

    If I create a new detail page then I can display the text above the list and not on the detail page but then I end up with this detail page that displays a list if there is no url parameter. 

    Looks like there might be 2 solutions to this:

    - Can I hide the content blocks on an auto-generated detail page?

    - Or can I redirect the detail page to the main list page if there is no url parameter?

    Thanks,

    Ross

1 posts, 0 answered