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

Forums / Developing with Sitefinity / Random shared content

Random shared content

7 posts, 0 answered
  1. Joel
    Joel avatar
    28 posts
    Registered:
    18 Jun 2008
    22 Dec 2008
    Link to this post

    Is there a module that exists to allow me to randomly pull shared, generic content blocks in upon reload?

    For example:

    Page loads and pulls Entry 1 from Category X
    Reload page and it pulls Entry 3 from Category X
    Reload page and pull Entry 2 from Category X


    Seems like it would be easy to do, but I am not a .NET guy.

    Also, any resources for external SiteFinity user controls is welcome as well. I love the GoodDocks stuff, any others?
  2. Parvan
    Parvan avatar
    151 posts
    Registered:
    24 Sep 2012
    23 Dec 2008
    Link to this post
    Hello Joel,

    We created sample User Control which use random generator to select which item to show.
    In admin you can adjust from which Category to choose items.

    You can Upload User Control from Add Controls section while editing page. Then you can go to edit and select Category from which to select items.

    We do hope that this will help you.

    Kind regards,
    Parvan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Joel
    Joel avatar
    28 posts
    Registered:
    18 Jun 2008
    26 Dec 2008
    Link to this post

    This works great! Thank You.

    One issue that keeps coming up is that my module setting won't keep or keep getting reset.

    Scenerio:

    - I installed the above control and set the category to "Case Studies"
    - I also have a news list on the same page with specific settings to only show title and date

    It works like a charm.

    However, when I visit the site again, the settings are reset.

    - Above control is pulling from all categories
    - News list is showing summary, etc.

    I don't know why the setting aren't keeping and are being reset. It's weird behavior.

    If I go back and edit the home page, I need to go back into the random control and enter "Case Studies" and open the news list control and Save it again and it works fine.

    I preview the site and it is fine.

    However, when I go back later..it's reset. Makes so sense at all..

    Thoughts?

    Thanks.



  4. Joel
    Joel avatar
    28 posts
    Registered:
    18 Jun 2008
    26 Dec 2008
    Link to this post

    I found this and it seems to be working:
    http://www.sitefinity.com/support/knowledge-base/kb-article/b1154K-bace-b1154T-cmm.aspx


    I am using 3.2.


  5. Joel
    Joel avatar
    28 posts
    Registered:
    18 Jun 2008
    28 Dec 2008
    Link to this post
    This approach/fix worked for the News List setting, however not for the Random Listing control above.

    Any ideas?

    Again, settings keep getting reset and the "category" doesn't hold as it pulls from all of the Shared Content.

    Looking forward to a fix.

    Thanks.
  6. Parvan
    Parvan avatar
    151 posts
    Registered:
    24 Sep 2012
    29 Dec 2008
    Link to this post
    Hello Joel,

    We fixed the user control properties (replace old version with supplied as attachment in this post).
    There is special need to handle cases when control is edited in administration side.

    It should work fine now.

    Regards,
    Parvan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. jkregala
    jkregala avatar
    159 posts
    Registered:
    22 Sep 2009
    11 Jun 2010
    Link to this post
    Been looking for this. Glad to have stumbled on this one. Thanks Telerik team! :)
Register for webinar
7 posts, 0 answered