• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Support hiding gallery categories or sub-categories

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jul-18-2008, 01:44 AM
#1
eyeDutch is offline eyeDutch OP
Big grins
hiding gallery categories or sub-categories
Is it possible to hide categories or sub-categories? I know it's possible to get this effect by marking all the galleries inside as hidden, but suppose I have galleries in a particular gallery that I don't want to hide, and yet I still want to hide only the category that contains them, on my main page. Right now I have to mark each gallery as hidden, but I want that type of control over the individual categories as well. -- Paul
Old Jul-18-2008, 05:04 AM
#2
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by eyeDutch
Is it possible to hide categories or sub-categories? I know it's possible to get this effect by marking all the galleries inside as hidden, but suppose I have galleries in a particular gallery that I don't want to hide, and yet I still want to hide only the category that contains them, on my main page. Right now I have to mark each gallery as hidden, but I want that type of control over the individual categories as well. -- Paul
You can hide categories from the category box with some js. Example
below shows Family category being hidden.

Put in javascript

Code:
      <!-- Hide Categories -->
function delCategory() {
  re = /\/(Family)$/;

  var oList = YD.getElementsByClassName('miniBox', 'div', this);

  for (i = 0; i < oList.length; i++) {
    if (re.test(oList[i].getElementsByTagName('a')[0].href))
      oList[i].parentNode.removeChild(oList[i]);
  }
}
YE.onContentReady('categoriesBox', delCategory);
     <!-- End Hide Categories -->
For more then one add a | between them. cat1|cat2|cat3

re = /\/(cat1|cat2|cat3)$/;
Old Jul-18-2008, 05:58 AM
#3
mbellot is offline mbellot
Major grins
Allen's solution works (I use it myself), but you need to be aware of a security "hole" with the method.

Anything hidden with scripts (like the one posted above) will be fully visible on alternate interfaces. The RSS feed, iphone and any application that accesses your site through the API interface do not "respect" this method for hiding assets on your web site.
Old Jul-18-2008, 11:54 AM
#4
eyeDutch is offline eyeDutch OP
Big grins
Quote:
Originally Posted by mbellot
Allen's solution works (I use it myself), but you need to be aware of a security "hole" with the method.

Anything hidden with scripts (like the one posted above) will be fully visible on alternate interfaces. The RSS feed, iphone and any application that accesses your site through the API interface do not "respect" this method for hiding assets on your web site.
Exactly, and that is not acceptable, nor is it acceptable to have to hack this with javascript. What I meant was that I want to be able to do this via the browser, some buttons, a form you catch my drift, the 21st century ;-)

Can this be made a feature request or is this a really strange thing to want in the standard functions?

-- Paul
Old Jul-18-2008, 08:31 PM
#5
mbellot is offline mbellot
Major grins
Quote:
Originally Posted by eyeDutch
Exactly, and that is not acceptable, nor is it acceptable to have to hack this with javascript. What I meant was that I want to be able to do this via the browser, some buttons, a form you catch my drift, the 21st century ;-)

Can this be made a feature request or is this a really strange thing to want in the standard functions?

-- Paul
I totally "catch your drift"...

The current situation is less than ideal since making galleries private (unlisted, hidden) breaks breadcrumb navigation.

I'd love to be able to tag an entire category (or subcategory) as private/hidden/unlisted so it does not show up when browsing from any public interface, but if I give someone a direct link "inside" then they can navigate around in the lower levels.
Old Sep-24-2012, 07:09 PM
#6
Codewize is offline Codewize
Beginner grinner
Interesting but this is exactly why I was lead here. Looks like we've bee requesting this option / feature now for 5 years or so? We just need to be able to hide a complete category from public view

Come on Smug Mug. Help us out.
Old Sep-24-2012, 09:01 PM
#7
mishenka is offline mishenka
Major grins
5 years of asking ...and anyone still believes it will be implemented? :) I obviously do not know exactly how the SmugMug's system is coded and structured, but I've been is software design business for more than 15 years. My experience tells me that to make what you are asking (and to make it the right way) will require changes on the core level of the entire system: database schema. It means entire redesign. I doubt very much it will ever be done. I simply know what is involved in things like that:)

Last edited by mishenka; Sep-25-2012 at 06:30 AM.
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump