PDA

View Full Version : Moving the map


howey100
Jul-27-2009, 09:31 PM
Hi

I am looking for help on how I would be able to the move the map from the homepage onto a category/gallery page. I want my home page to remain only with the slide show and the navigation bar and banner/footer as I have it set up now. I want my gallery page to have the map, galleries plus the nav bar, header and footer.


Essentially what I am trying to do is something similar to the page found here - http://andydemo.smugmug.com/find
While I have seen code posted on how to reproduce this it seems to lack how to move the map.

I would appreciate any help that you might be able to give on this matter. Thank you.

Cheers, Chris

Glory2Jesus4Photography
Jul-27-2009, 10:27 PM
Hi

I am looking for help on how I would be able to the move the map from the homepage onto a category/gallery page. I want my home page to remain only with the slide show and the navigation bar and banner/footer as I have it set up now. I want my gallery page to have the map, galleries plus the nav bar, header and footer.


Essentially what I am trying to do is something similar to the page found here - http://andydemo.smugmug.com/find
While I have seen code posted on how to reproduce this it seems to lack how to move the map.

I would appreciate any help that you might be able to give on this matter. Thank you.

Cheers, Chris
Chris I may be able to slowly walk you throw some of it give me a few minuets . So what do you want on your home page just the slide show and nothing else from your home page layout tap at the top of you home page while logged in. Can you include a link to your site as well.

howey100
Jul-27-2009, 10:38 PM
Chris I may be able to slowly walk you throw some of it give me a few minuets . So what do you want on your home page just the slide show and nothing else from your home page layout tap at the top of you home page while logged in. Can you include a link to your site as well.


Thanks.

You are correct. I am only looking to keep the slide show on my homepage.

I want to add the map to my 'World Images' page.

http://chrishoweyimaging.smugmug.com/

Thank you.

Glory2Jesus4Photography
Jul-27-2009, 10:41 PM
http://andydemo.smugmug.com/gallery/5568786_7mHz6
http://dgrin.smugmug.com/gallery/2160039
have you read these yet.
it is pretty easy if you just take your time and follow it closely it looks more confusing then it is.
If you have some questions just shout or check out some of the sticky and faq's

Glory2Jesus4Photography
Jul-27-2009, 10:51 PM
Thanks.

You are correct. I am only looking to keep the slide show on my homepage.

I want to add the map to my 'World Images' page.

http://chrishoweyimaging.smugmug.com/

Thank you.
change the XXX in all three plases to what ever you want the name of the secound page and put the script in and you should be well on your way.
Make sure you read those two links first I have been know to miss very obvious things.
into your CSS


.homepage #mapBox,
.homepage #mapStuff,
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #popularPhotos,
.homepage #keywordSearch,
.homepage #featuredBox,
.homepage #datesBox,
.homepage #ffBox,
.homepage #communitiesBox,
.homepage #keywordsBox {display: none;
}

.homepage #bioBox {display: block;
}
.XXXXX #bioBox {display: none;
}




Bottom java script


function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

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

howey100
Jul-28-2009, 07:15 AM
Hi

Thank you for the response.

I have looked at those two threads and tried using that code in different variations, but have not had much luck. The issue with the code from replicating that find page is that it skips the map and adds a lot of other features that I do not want/need.

At any rate no luck yet, but thank you for your help.