Contribution page filter object default name change
AnsweredHi, sorry to disturb. Just wondering is there anyway to change the default filter object name in contribution template page to be a different name? For example, in the middle of contribution page there are three tabs showing texts Posts, Community comments, and Article comments. Zendesk accomplished that by calling each filter in the contribution page and displays each filter's name. Just wondering is there any way to change the name of the filter called? Because if I style it this way, it will look very bad. Also is there any way to find the filter somewhere in Help Center just like articles? Thank you.
-
Hey Yilin Wei
You can achieve this by using some js, To update the links please follow the steps
- Search for the following class on the contribution template "my-activities-sub-nav"
- Then add the following class "contribution-nav" on the element of the above class
- Then add the following script at the bottom of your script.js
$(document).ready(function() {
$('.contribution-nav .collapsible-nav-list li:nth-child(1) a').text('ADD YOUR UPDATED TEXT');
$('.contribution-nav .collapsible-nav-list li:nth-child(2) a').text('ADD YOUR UPDATED TEXT');
$('.contribution-nav .collapsible-nav-list li:nth-child(3) a').text('ADD YOUR UPDATED TEXT');
});Hoping your theme using JQuery
Please let me know if it solves your Query
Thanks
Pulkit
Team Diziana
Please sign in to leave a comment.
1 Comments