Mono support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Mono Support Remove Photos option from the group view (Closed)

Viewed 3708 time(s), 3 post(s) 2/21/2012 9:47:54 PMby sam0864

sam0864 2/21/2012 9:47:54 PM

In the group view, we have three tabs (Wall, Photos, Discussion Board). Are these tabs customizable? Can I remove the Photos tab or I need the source code?
This content has not been rated yet. 
591 Reputation 72 Total posts

imarusic 2/22/2012 9:03:27 AM


you do not need source code to implement that. You just need to navigate to group view's markup and put that tab in place holder and set it's visibility to false. Here is a code snippet:

<asp:PlaceHolder ID="plhPhotos" runat="server" Visible="false">
                                        <li class="<%= InternalWorkingMode.Equals(SnGroupWorkingMode.Photos) ? "current" : String.Empty %>">
                                            <asp:HyperLink ID="lnkPhotos" runat="server" CausesValidation="false">
                                                <span id="labPhotos" runat="server">Photos</span></asp:HyperLink></li>

This content has not been rated yet. 
2554 Reputation 350 Total posts

sam0864 2/22/2012 8:35:43 PM

Thanks a lot
It is working for me.
This content has not been rated yet. 
591 Reputation 72 Total posts