Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to hide the Discussion board filters named "Answered Questions" & "UnAnswered Questions"

$
0
0

I have add an APP of type Discussion Board, but iwant to do these two modificationS:-

- to hide the "Best Reply" link

- to hide the "Answered Question" & "Unanswered questions" filters.

for the second point i wrote the following script:-

<script>

$( document ).ready(function() {

$('#clientPivotControl0_overflow').hide();

$('a.ms-pivotControl-surfacedOpt:contains("question")').hide();




});


</script>

the script was able to hide the links only when i page loads , but if the user clicks on the "Recent" filter , then all the filters will appear again..... can anyone adivce how to remove these tow features ?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>