• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More

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
Page 15  of  17
Old Aug-17-2012, 04:11 PM
#281
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by marantophotography View Post
OK, so I got to that page and changed the bottom javascript and the CSS. Still not working. I saw this from the instructions on that thread:
Now we have your 'normal' homepage which is accessible at XXXXX.smugmug.com and your 'duplicate' homepage which is accessible at XXXXX.smugmug.com/galleries
when I type in those two addresses, I get the same thing. Is this perhaps the problem?
Thanks!
I do not see any of the code installed?
Old Aug-17-2012, 04:31 PM
#282
marantophotography is offline marantophotography
Maranto Photography
marantophotography's Avatar
This is in CSS:

#customNavContainer { text-align: left; margin: 5px auto 20px 15px;}
#customNav { font-family: arial !important; font-size: 14px; color: #EBECF5 !important; list-style-type: none; padding: 0; margin: 0; }
#customNav li{ display: inline; }
#customNav li a, #customNav li a:active, #customNav li a:visited, #customNav li a:link { font-family: arial !important; font-size: 14px; color: #EBECF5 !important; text-decoration: none !important; }
#customNav li a:hover { font-family: arial !important; font-size: 14px; color: #5858EE !important; text-decoration: none !important; }


.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #homepageSlideshow,
.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

.galleries #slideshowBox {display: none;}

This is in Bottom Java:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

I thought I was following the instructions correctly. Just now, I hit update instead of just preview, in case that was the issue, but no change.

Thanks!
Old Aug-17-2012, 04:47 PM
#283
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by marantophotography View Post
This is in CSS:

#customNavContainer { text-align: left; margin: 5px auto 20px 15px;}
#customNav { font-family: arial !important; font-size: 14px; color: #EBECF5 !important; list-style-type: none; padding: 0; margin: 0; }
#customNav li{ display: inline; }
#customNav li a, #customNav li a:active, #customNav li a:visited, #customNav li a:link { font-family: arial !important; font-size: 14px; color: #EBECF5 !important; text-decoration: none !important; }
#customNav li a:hover { font-family: arial !important; font-size: 14px; color: #5858EE !important; text-decoration: none !important; }


.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #homepageSlideshow,
.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

.galleries #slideshowBox {display: none;}

This is in Bottom Java:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

I thought I was following the instructions correctly. Just now, I hit update instead of just preview, in case that was the issue, but no change.

Thanks!
What is the link to this site with the above code?
Old Aug-17-2012, 04:56 PM
#284
marantophotography is offline marantophotography
Maranto Photography
marantophotography's Avatar
https://secure.smugmug.com/homepage/cobrand.mg

hopefully that is what you will need to see.

Thanks!
Old Aug-17-2012, 06:29 PM
#285
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by marantophotography View Post
https://secure.smugmug.com/homepage/cobrand.mg

hopefully that is what you will need to see.

Thanks!
Not your control panel, your main site where you say you have added the CSS and JS.
This site is in your profile and does not have the code.
http://www.marantophotography.com/

On the advanced customize page did you click save/update button at the bottom? Not the preview submit one.
Old Aug-18-2012, 08:16 AM
#286
marantophotography is offline marantophotography
Maranto Photography
marantophotography's Avatar
Thanks for your help with this. This morning I checked and all the code I added yesterday and I did click the save button was gone.
So, I went back and re-entered the code, which I am hoping that you can now see here: http://www.marantophotography.com

So, this time when I hit the save button, now my "home" and "photo galleries" are just the slideshow. Home is great, but I wanted my galleries to show up without the slide show when you click "photo galleries"

Thanks!
Old Aug-18-2012, 08:20 AM
#287
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by marantophotography View Post
Thanks for your help with this. This morning I checked and all the code I added yesterday and I did click the save button was gone.
So, I went back and re-entered the code, which I am hoping that you can now see here: http://www.marantophotography.com

So, this time when I hit the save button, now my "home" and "photo galleries" are just the slideshow. Home is great, but I wanted my galleries to show up without the slide show when you click "photo galleries"

Thanks!
Go into ECZ and change the link for your galleries page in your navbar from this
http://www.marantophotography.com/index.mg?viewBy=Categories
to this
http://www.marantophotography.com/galleries
or the relative link
/galleries
Old Aug-18-2012, 10:57 AM
#288
marantophotography is offline marantophotography
Maranto Photography
marantophotography's Avatar
Yes, it works now. I could not have done this without you, so thanks so much for your time!
Old Sep-17-2012, 06:33 PM
#289
TSR is offline TSR
Beginner grinner
I used the steps outlined above to create a new events page. I’m having an issue however listing featured events only on the events page. At first featured events were listed on all my pages. I was able to use:
.galleries #eventsBox {display: none;}
to stop events from showing on the Galleries page but it still shows on the Homepage. When i insert:
.homepage #eventsBox {display: none;}
Featured events are gone from the home page and the events page. Any idea on how to remove the events page from the homepage without removing it from my events page?
Old Sep-17-2012, 06:59 PM
#290
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by TSR View Post
I used the steps outlined above to create a new events page. I’m having an issue however listing featured events only on the events page. At first featured events were listed on all my pages. I was able to use:
.galleries #eventsBox {display: none;}
to stop events from showing on the Galleries page but it still shows on the Homepage. When i insert:
.homepage #eventsBox {display: none;}
Featured events are gone from the home page and the events page. Any idea on how to remove the events page from the homepage without removing it from my events page?
Those that could help would need a link to your site.
Old Sep-18-2012, 02:52 AM
#291
TSR is offline TSR
Beginner grinner
Quote:
Originally Posted by Allen View Post
Those that could help would need a link to your site.
The web site is www.tsrphoto.com
Thanks
Old Sep-18-2012, 05:05 AM
#292
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by TSR View Post
The web site is www.tsrphoto.com
Thanks
I'm confused now, everything looks ok here. Get it all fixed?
Old Sep-24-2012, 08:48 AM
#293
jsilas is offline jsilas
Big grins
3 Homepages with different BioBoxes
Is it possible, using this code, to create 3 different homepages each with the same item on them? ...That doesn't make very much sense so let me explain what I'm trying to do.

On my default homepage I want just the bioBox because I use it to create linked images to my different galleries using this code, for example:

<html>
<div id="homepageIconContainer">
<span class="homepageIcon"><a href="http://jessicasilas.smugmug.com/LandscapesNature/New-Photos/21433414_3cDK37#!i=1707716669&k=XjwN5BV"><img src="/photos/i-pBKCxbp/0/S/i-pBKCxbp-S.png" border="0"></a></span></div>
</html>

But, instead of sending me to a specific gallery, the default homepage links (2 of them, one for landscapes and one for weddings/portraits) will take me to 2 different 'homepages' (Landscapes, Weddings/Portraits), each with another new bioBox. Then within each of those bioBoxes I'll have the code that links me to all of the different galleries.

The problem I'm running into is that when I try to do it, instead of giving me new bioBoxes on each homepage so I can make different links, it keeps duplicating the same one on each page.

I'm not sure if it's even possible to set up the website like I'm envisioning, or if this is the correct way to try and do it, but I appreciate any help and advice anyone can give me!

Here's a link to my homepage: http://jessicasilas.smugmug.com/
__________________
-Jessica

Homepage
Old Sep-24-2012, 09:09 AM
#294
jfriend is offline jfriend OP
Scripting dude-volunteer
Quote:
Originally Posted by jsilas View Post
Is it possible, using this code, to create 3 different homepages each with the same item on them? ...That doesn't make very much sense so let me explain what I'm trying to do.

On my default homepage I want just the bioBox because I use it to create linked images to my different galleries using this code, for example:

<html>
<div id="homepageIconContainer">
<span class="homepageIcon"><a href="http://jessicasilas.smugmug.com/LandscapesNature/New-Photos/21433414_3cDK37#!i=1707716669&k=XjwN5BV"><img src="/photos/i-pBKCxbp/0/S/i-pBKCxbp-S.png" border="0"></a></span></div>
</html>

But, instead of sending me to a specific gallery, the default homepage links (2 of them, one for landscapes and one for weddings/portraits) will take me to 2 different 'homepages' (Landscapes, Weddings/Portraits), each with another new bioBox. Then within each of those bioBoxes I'll have the code that links me to all of the different galleries.

The problem I'm running into is that when I try to do it, instead of giving me new bioBoxes on each homepage so I can make different links, it keeps duplicating the same one on each page.

I'm not sure if it's even possible to set up the website like I'm envisioning, or if this is the correct way to try and do it, but I appreciate any help and advice anyone can give me!

Here's a link to my homepage: http://jessicasilas.smugmug.com/
There is only one biobox. You can't have multiple ones.

At first blush, it sounds like you should just be link to categories and letting the category display take care of the Landscapes or Weddings/Portraits page.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Sep-24-2012, 09:19 AM
#295
jsilas is offline jsilas
Big grins
Quote:
Originally Posted by jfriend View Post
There is only one biobox. You can't have multiple ones.

At first blush, it sounds like you should just be link to categories and letting the category display take care of the Landscapes or Weddings/Portraits page.

How do I do that? I'm not very good at this so I apologize if it's something very simple. The only way I know how to make links and all that is through the biobox. Is it possible to make a linked image, like how I have my biobox set up, through the category display that you're talking about?
__________________
-Jessica

Homepage
Old Sep-24-2012, 09:20 AM
#296
jfriend is offline jfriend OP
Scripting dude-volunteer
Quote:
Originally Posted by jsilas View Post
How do I do that? I'm not very good at this so I apologize if it's something very simple. The only way I know how to make links and all that is through the biobox. Is it possible to make a linked image, like how I have my biobox set up, through the category display that you're talking about?
Here's an example of a category page: http://jessicasilas.smugmug.com/LandscapesNature

If you want to make your own custom page to do your own version of a category page, then you probably do that by creating an empty gallery, inserting HTML in the gallery description (surrounded by <html> and </html> to tell Smugmug you're doing your own HTML in the description) and then use CSS to hide the rest of the gallery chrome. Allen has a tutorial on how to do this (I'm not sure where the link is at the moment).
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Sep-24-2012, 09:26 AM
#297
jsilas is offline jsilas
Big grins
Quote:
Originally Posted by jfriend View Post
Here's an example of a category page: http://jessicasilas.smugmug.com/LandscapesNature

Oh ok. So you're saying to use my biobox on the homepage to create links to the category pages that will show the different galleries. Is there anyway to customize how the images look on the category pages? Can I replace them with the images I created in photoshop that I currently have in my biobox?
__________________
-Jessica

Homepage
Old Sep-24-2012, 09:27 AM
#298
jfriend is offline jfriend OP
Scripting dude-volunteer
Quote:
Originally Posted by jsilas View Post
Oh ok. So you're saying to use my biobox on the homepage to create links to the category pages that will show the different galleries. Is there anyway to customize how the images look on the category pages? Can I replace them with the images I created in photoshop that I currently have in my biobox?
The category pages themselves are not very customizable. You can change the layout using CSS, but can't very easily insert your own images (that would take custom javascript to insert custom images). If you want to design your own HTML, then please read the last paragraph in my previous post for conceptually how that is done on Smugmug.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Sep-24-2012, 09:34 AM
#299
jsilas is offline jsilas
Big grins
Quote:
Originally Posted by jfriend View Post
The category pages themselves are not very customizable. You can change the layout using CSS, but can't very easily insert your own images (that would take custom javascript to insert custom images). If you want to design your own HTML, then please read the last paragraph in my previous post for conceptually how that is done on Smugmug.

Ok, I'm not really a computer person so I would have no idea what to do about designing my own HTML but I'll look for that link and see what I can come up with. Thanks for your help. It's too bad about the biobox because that definitely seems like the easiest way to do it, in my opinion.
__________________
-Jessica

Homepage
Old Sep-24-2012, 09:38 AM
#300
jfriend is offline jfriend OP
Scripting dude-volunteer
Quote:
Originally Posted by jsilas View Post
Ok, I'm not really a computer person so I would have no idea what to do about designing my own HTML but I'll look for that link and see what I can come up with. Thanks for your help. It's too bad about the biobox because that definitely seems like the easiest way to do it, in my opinion.
You already did your own HTML in the biobox. You just put another version of that in a gallery description. It's no different.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Page 15  of  17
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Stretchy slideshow customization for the Homepage jfriend SmugMug Customization 854 Jan-24-2013 01:37 PM
Accidentally deleted my homepage while editing html dfg1983 SmugMug Customization 4 Aug-08-2009 05:28 PM
Link to my homepage? tsinsf SmugMug Support 1 Feb-22-2009 03:04 PM
Setting feature photos for homepage categories sledgehammer SmugMug Customization 0 Jan-28-2009 08:30 AM
Hiding Search on homepage Desert-Rat SmugMug Customization 2 Sep-03-2007 01:51 PM


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