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

Hide and Show The New Edit Buttons on pages

I see Rosa has added something about this using a little css to hide them so thought I would come up with another version so you can have them hidden by default but enable them quickly if you need to. I have added another option into the Ning bar, as only admins see these anyway, so by clicking the button it will show the grey edit buttons on the page and by clicking again it will hide them, Note I have done it so that the button in the Ning bar will only show up if there are any edit buttons on the page else it will not be there.

Not sure why Ning did not add an option of a tick box or something for us to decide if we wanted them or not to show but I know they did have a lot of requests for editing on the page like there was in Ning 2.0 but the option would have been nice to be added.

Here are two demo images

10928695476?profile=RESIZE_710x10928695692?profile=RESIZE_710xNice and simple.

So here is the code to use, just go to your Social Site Builder > Custom Code and add it in the END OF PAGE section.

 

<script>
x$(document).ready(function(){
x$('.editEs23Button').remove();
x$('.jsEditButton').closest('body').addClass("hasEditButtons");
x$('<a class="dashboardBar-icon edits-buttons" href="#/" title="Show Edit Buttons"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path transform="translate(-21 -300)" d="M35.55 312.25l-2.3 2.3 4.07 4.06 2.29-2.3zm-4.8-4.8l-4.07-4.06-2.29 2.3 4.06 4.06zM32 306.2l4.7-4.69a.89.89 0 0 1 1.24 0l3.55 3.54c.35.35.35.91 0 1.26l-4.7 4.69 4.7 4.7c.35.34.35.9 0 1.24l-3.55 3.55a.89.89 0 0 1-1.25 0l-4.69-4.7-4.7 4.7a.89.89 0 0 1-.62.26h-3.54a.89.89 0 0 1-.89-.89v-3.54c0-.24.1-.46.26-.63l4.7-4.69-4.7-4.7a.89.89 0 0 1 0-1.25l3.55-3.54a.89.89 0 0 1 1.25 0zm4.13-1.63l2.3 2.3 1.18-1.19-2.3-2.3zm-1.25 1.26l-10.86 10.85v2.3h2.3l10.85-10.86z"></path></svg><span class="dashboardBar_title">Page Edit Buttons</span></a>').insertAfter('.dashboardBar-innerIcons a:last').hide();
x$('.edits-buttons .dashboardBar_title').css('margin-left','5px');
x$('.edits-buttons').hide();
x$('body.hasEditButtons .edits-buttons').show();
x$('.jsEditButton').hide();
x$('.edits-buttons').click(function(){
x$(this).toggleClass("dashbuttonActive");
x$('.jsEditButton').toggleClass("active");
x$('.jsEditButton').hide();
x$('.jsEditButton.active').show();
});});
</script>

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

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

This reply was deleted.
 

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

Joven updated their profile photo
Sunday
⚡JFarrow⌁ updated their profile photo
Saturday
Bizz replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"You could but then the logo would have to be small as the bar would have to become big if you…"
Friday
⚡JFarrow⌁ replied to Barney Lodge's discussion
Group Creation by Script
"Yes you can if you don't mind wrestling with the API...  ill send you my contact info... i have a…"
Thursday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"any ideas on how to get the logo up into the bar as well before the navigation?"
Wednesday
Barney Lodge updated their profile
Mar 21
Barney Lodge updated their profile photo
Mar 21
ψψ ⚜ LuciStG ⚜ψψ updated their profile
Mar 21
ψψ ⚜ LuciStG ⚜ψψ replied to Annabel Gregory's discussion
Email address capture
"You could ask members a profile question. I do this as well just go into settings > members >…"
Mar 21
ψψ ⚜ LuciStG ⚜ψψ replied to Barney Lodge's discussion
Group Creation by Script
"As far as I Know you can not create groups on ning using a script. You have to create them one at a…"
Mar 21
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
A Simple Way to Move Navigation Up Into Account Bar
"yes it is now perfect and with the added bonus of a sticky navigation when fixing the account bar…"
Mar 17
⚡JFarrow⌁ and Amit Sinh are now friends
Mar 17
More…

Meanwhile, you can check our social media channels