Try Now
More in this section

Forums / Designing with Sitefinity / forum styling

forum styling

2 posts, 0 answered
  1. sam
    sam avatar
    102 posts
    31 Jan 2008
    13 Sep 2009
    Link to this post
    I am wanting to style my forum similar to this SiteFinity's site.

    Using icons for unanswered threads etc..

    The out of the box forum doesn't have the hooks to attach the css I want.. that your forums do..
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    14 Sep 2009
    Link to this post
    Hi sam,

    Here is the logic that you should follow.
    You should get the owner of the post - thread. After logging of an user you should check whether this user is the owner of the post. If it is the owner then show "Mark as Answer" button on the posts. You should create a Boolean type variable to determine whether the post is marked or not. By default the value is false. Once a user click on the button you should set the variable to true and apply a new css to the marked post. Then you rebind the items in the repeater and the new css will became visible.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered