Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

Some time back I posted how to show if something has been featured on your pages, the issue was that if you feature something the text did not reflect that so you could easily un-feature something.

Here is the link to that post: Showing if a post has been featured for admins

Now here is another tip to show how you can change the text for our drop down items in events and profiles, bu the way you will notice in the demo images my drop down list is not gray and has been changed, I will be posting a seperate tip of how to do that.

Here are two demo images showing the change

Events Dropdown showing this event has been featured already

And here is a members profile page which has been featured

So here is the code to do this

First we add some custom code to the site&pages custom code end of page section. You will notice in the code a class is being added to the events detail page so we can make the adjustments in our css.

The first line is just using some standard Featured text for any other drop downs

The second line changes the Feature text to Event Featured for events

The third line changes the Feature text to Profile is Featured for profile pages that have been featured

<script>
// Set the drop down text for events featured and profiles featured
x$(document).ready(function(){
x$('.eventDetailPage').closest('body').addClass('eventDetail');
x$('.optionsDropdown-featureButton.feature-button.is-selected').text('Featured');
x$('.eventDetail .optionsDropdown-featureButton.feature-button.is-selected').text('Event Featured');
x$('.profileCoverArea-actions .optionsDropdown-featureButton.feature-button.is-selected').text('Profile is Featured');
});
</script>

Here is some optional css if you want that item to stand out by addinf some colour to it as you see in the above demo images. This you would add to your design studio custom css, change the colours to fit your site

darkblue is the background colour     color is the text colour.

/*OPTIONAL  CSS FOR CHANGING THE FEATURED DROP DOWN ITEM */
.eventDetail .optionsDropdown-featureButton.feature-button.is-selected{ background-color:darkblue;color:white; border-radius:4px }
.profileCoverArea-actions .optionsDropdown-featureButton.feature-button.is-selected{ background-color:darkblue;color:white; border-radius:4px }

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Thisisbully replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Good luck"
3 hours ago
Steve C replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Thank you, Ning! I was about to cry to Support again about how much I need to move to 3.0, and beg…"
8 hours ago
Marco Westerhof replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Sure: www.reefz.nl
Although it is primarily in Dutch, feel free to look at the setup. We work with…"
8 hours ago
Gerard Nealy replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Any chance of live stream?"
8 hours ago
Elshara Silverheart replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Well done Ning! the storage implementation sounds like a really cool idea. Perhaps a list of the mo…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"Do you have a ning 2 or 3 network?"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"I think the change itself may be caused by how Tinymce handles the plugins required to add said fun…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"this seems like normal behavior. So making sure tinymce gets called as soon as possible may make th…"
9 hours ago
Ning via Facebook

Improve your community every day! It's easier to say than to do, right? But not for…

Paul B Thomas replied to Gavin Brown's discussion
Text Editor Problems
"Hi I have similar issues at the moment. Cannot upload pictures, an error mesages comes up when I tr…"
10 hours ago
Gavin Brown replied to Gavin Brown's discussion
Text Editor Problems
"Thank you Kyryl
 "
11 hours ago
Traddie replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Marco. Can you tell me what your network url is so that I can have a look at it. Tks"
11 hours ago
More…

Meanwhile, you can check our social media channels