| Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help? |
|
|||||||
| Register | FAQ | Shooters | Calendar | Reviews | Tutorials | Gallery | Books | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Major grins
Join Date: Jul 2006
Posts: 862
|
Categories sub-page
Smugmug, in their wisdom, have realised that there are too many cool features to fit on a single homepage, and have given us all the ability to turn homepage features on and off.
For most of the features, even if they are turned off, it is possible to direct viewers to a suitable sub-page to get a similar view. For example, http://pbolchover.smugmug.com/keyword/ shows my photo keywords, while http://pbolchover.smugmug.com/popular/ shows the popular photos. There's even a URL that will take people to the smugmaps facility. All users have the ability to hide the categories / galleries from their front page. It would be extremely useful for there to be a similar sub-page showing the category view. That means that, even if the category section were disabled from the front page, going to http://pbolchover.smugmug.com/categories/ would still give a category view. On a similar vein, perhaps the following would also be useful http://pbolchover.smugmug.com/galleries/ http://pbolchover.smugmug.com/featured/ [ie featured galleries] I know that there are ways around this, but they typically involve either hacking around with a gallery to get a similar view (which requires the user to be a Power User or Pro), or using a category as the "top level" and sub-categories as the "categories" (giving no equivalent to a current sub-gallery). Paul |
|
|
|
|
|
#2 |
|
Major grins
Join Date: Apr 2005
Posts: 1,829
|
I would also like to be able to do this. I was hoping to simplify my front page by having links to separate pages for browsing by keywords, categories, and the world map, but it doesn't look like the last two are possible right now.
|
|
|
|
|
|
#3 |
|
I � Unicode
Join Date: Feb 2005
Location: Dover, DE
Posts: 7,059
|
This would indeed make things simpler for customization's sake. However, you can get the same effect by a smidge of javascript. All it would take would be for you to change the display values of certain elements upon a mouse click. I bet you could even find out how to do it with a short google search.
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
|
|
#4 | |
|
SmugMug CEO & Chief Geek
Join Date: Dec 2003
Location: Silicon Valley, CA
Posts: 1,203
|
Quote:
I'll let it percolate in my mind a bit, but it doesn't sound unreasonable. :) Don |
|
|
|
|
|
|
#5 |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Paul,
You have inadvertently given me a really good idea along the lines of vanity urls. Here's the deal... if you make up a smugmug address that is not going to point to any category, for example http://introversion.smugmug.com/idea/ When you go to this link, it displays my homepage like going to http://introversion.smugmug.com So all you need to do, is write a javascript function that determines when one or the another url is displayed and sets a className...this class could for example hide all the stuff on the homepage, while the other gives the default view. This way, you get the best of both worlds...you can have a landing page with slideshow, etc...and fully featured categories/sub-categories. Does that make sense ? I will code up an example on my page when I get a chance. Cheers, David |
|
|
|
|
|
#6 |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
here's the sample...
Normal address.. http://introversion.smugmug.com Galleries address... http://introversion.smugmug.com/galleries All done with a simple javascript function and some css. Footer code (remove the *'s): Code:
<*script*>
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
<*/script*>
Code:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
Code:
.homepage #featuredBox {display:none;}
.galleries #categoriesBox {display:block !important;}
David Edit: There is new code for this here in The Gallery Page" sections. Last edited by Allen; Jun-09-2008 at 06:53 AM. |
|
|
|
|
|
#7 |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
What is your favorite food/ beverage and how do I ge it to you....
I guess you really do think in JS... I've been hoping for something just like this as a default for my "galleries" link....
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
#8 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
![]() check out my site now, I have a working nav bar as well. David |
|
|
|
|
|
|
#9 |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
Any way to get it to hide my slide show in the "featured" view?
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
#10 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
Quote:
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
|
#12 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
But note, the javascript code from above...needs to appear BEFORE ur slideshow code. Code:
if (isClass("homepage") && !isClass("featured"))
{ /*== slideshow parms specific to homepage slideshow ==*/
slideshowUrl = "http://brandolinoimaging.smugmug.com/gallery/1501572";//album to use for slideshow photos
resizeToPhoto = false;
firstSlideUrl = "http://brandolinoimaging.smugmug.com/photos/76617176-M.jpg";
slidesClickable = false;
slideHeight = "400"; //visible height of slide
slideWidth = "600"; //visible width of slide
photoHeight = "341"; //actual photo height
photoWidth = "510"; //actual photo width
}
|
|
|
|
|
|
|
#13 |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
I can not get this darn thing to work. I'm trying to show the categories, not the featured. And not the slide show... No dice.... Crappola!
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
#14 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
Code:
/*==========================*/
/*== Virtual Gallery Page ==*/
/*==========================*/
if (hasPath("featured"))
YD.addClass(document.body, "featured");
|
|
|
|
|
|
|
#15 | |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
Quote:
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
|
#16 |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Thanks again for another awesome new feature for my site.....
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
#17 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
|
|
|
|
|
|
|
#18 | |
|
Just a Guy with a Camera
Join Date: Dec 2005
Location: Illinois USA
Posts: 3,544
|
Quote:
(my virtual Homepage) http://www.brandolinoimaging.com/gallery/1595381 Since I have no breadcrumb nor navbar on my homepage... Something for later... Thanks again...
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.communitycaresinitiative.com • www.tinleyparkfrankfortrotary.com Use this code: 8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
|
|
#19 |
|
SmugMug Support Hero
Join Date: May 2006
Posts: 2,155
|
David,
What a great feature. I gave it a try, it worked perfect. I even tried it with the bioBox, also worked. I'll give google map a try later. Edit: Tried it on google map, friends & family, photo communities. Works on all of them.. You are the man.
__________________
Rich My Site SmugHelp Customizing SmugMug Simplified FAQ Firefox Webdev Firebug SmugManager Webdev Tutorial Last edited by richW; Aug-03-2006 at 08:52 PM. |
|
|
|
|
|
#20 | |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,308
|
Quote:
![]() I am kinda surprised I never thought of it before. |
|
|
|
|
![]() |
| Tell The World! |
| Thread Tools | |
| Display Modes | |
|
|