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?

Go Back   Digital Grin Photography Forum > Support > SmugMug Customization
Dgrinner
Password
Register FAQ Shooters Calendar Reviews Tutorials Gallery Books Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old Aug-27-2007, 01:58 PM   #1
MAHAROGERS
Big grins
 
Join Date: Nov 2006
Posts: 33
One more time - search box question

1) I just saw Andy's nifty "find" page

http://www.moonriverphotography.com/find

How do I build me one of those?

2) Is there a way for me to replicate just the search box from a page like that on my SM site that I can put on my non-SM hosted home page (http://markrogersphotography.com)

Thanks
MAHAROGERS is offline   Reply With Quote
Old Aug-28-2007, 04:44 PM   #2
Andy
SmugMug COO & House Pro
 
Andy's Avatar
 
Join Date: Dec 2003
Location: New York City
Posts: 52,230
Rich'll be along soon to explain things
__________________
Andy

Moon River PhotographyTwitterFacebook
Andy is offline   Reply With Quote
Old Aug-28-2007, 10:58 PM   #3
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Quote:
Originally Posted by Andy
Rich'll be along soon to explain things


Here is the explaination. devbobo wrote the code and I stole it from here: http://www.dgrin.com/showthread.php?p=355505#post355505
Quote:
Originally Posted by MAHAROGERS
1) I just saw Andy's nifty "find" page

http://www.moonriverphotography.com/find

How do I build me one of those?

2) Is there a way for me to replicate just the search box from a page like that on my SM site that I can put on my non-SM hosted home page (http://markrogersphotography.com)

Thanks
The following is the code I used for the search page.

In the css section:

.homepage #datesBox,
.homepage #keywordsBox {display:none;}

.find #datesBox,
.find #keywordsBox {display: block;}

.find #bioBox,
.find #categoriesBox,
.find #communitiesBox,
.find #featuredBox,
.find #ffBox,
.find #galleriesBox,
.find #popularPhotos {display:none;}

In the javascript section:

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

In the footer:

<*script type="text/javascript"*>

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

<*/script*>

Your new link to the search page is: http://markrogersphotography.smugmug.com/find

I didn't add the link yet. If you need me to, I can.

I gave you the search code for your extenal site via email. For everyone else. If you need to have a search form on an external site to search your SmugMug site, use the following code.

<form method="get" action="http://yourNickName.smugmug.com/search/index.mg">
<input type="text" name="searchWords" />
<input type="hidden" name="searchType" value="InUser" />
<input type="hidden" name="NickName" value="yourNickName" />
<input type="submit" name="sa" value="Search" size="20"/>
</form>

Replace "yourNickName" with your SmugMug nickname.

Have fun. Any question? Yell
richW is offline   Reply With Quote
Old Sep-03-2007, 06:38 PM   #4
photoshopsusieq
Big grins
 
Join Date: Jun 2007
Posts: 18
Ok... I really did try to find it on my own first but am I missing the thread that tells how to build the complete "FIND" page (like Andy's?)??

Thanks.
__________________
Susan
Photos by Hobbs | Heart2Heart Designs
photoshopsusieq is offline   Reply With Quote
Old Sep-04-2007, 11:59 AM   #5
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Quote:
Originally Posted by photoshopsusieq
Ok... I really did try to find it on my own first but am I missing the thread that tells how to build the complete "FIND" page (like Andy's?)??

Thanks.
There isn't a thread to show you how to make a "find' page. The code I provide above should work on your site. If you need help, post a link to your site and I will take a look for you. :)
richW is offline   Reply With Quote
Old Nov-08-2007, 10:34 AM   #6
MAHAROGERS
Big grins
 
Join Date: Nov 2006
Posts: 33
Find Page

Rich - it's taken me a while to get back to this but thanks. I took a look and my find page is looking great. Just a couple of questions, though. I took a look at Andy's again and his has a big ole search entry field as the first item on the page. How can I do the same thing? And, possibly add some explanatory text near it to help my less web savvy customers.

Thanks

Quote:
Originally Posted by richW


Here is the explaination. devbobo wrote the code and I stole it from here: http://www.dgrin.com/showthread.php?p=355505#post355505

The following is the code I used for the search page.

In the css section:

.homepage #datesBox,
.homepage #keywordsBox {display:none;}

.find #datesBox,
.find #keywordsBox {display: block;}

.find #bioBox,
.find #categoriesBox,
.find #communitiesBox,
.find #featuredBox,
.find #ffBox,
.find #galleriesBox,
.find #popularPhotos {display:none;}

In the javascript section:

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

In the footer:

<*script type="text/javascript"*>

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

<*/script*>

Your new link to the search page is: http://markrogersphotography.smugmug.com/find

I didn't add the link yet. If you need me to, I can.

I gave you the search code for your extenal site via email. For everyone else. If you need to have a search form on an external site to search your SmugMug site, use the following code.

<form method="get" action="http://yourNickName.smugmug.com/search/index.mg">
<input type="text" name="searchWords" />
<input type="hidden" name="searchType" value="InUser" />
<input type="hidden" name="NickName" value="yourNickName" />
<input type="submit" name="sa" value="Search" size="20"/>
</form>

Replace "yourNickName" with your SmugMug nickname.

Have fun. Any question? Yell
MAHAROGERS is offline   Reply With Quote
Old Nov-04-2008, 05:05 PM   #7
IBJC
I-B-Jenifer-Clark
 
IBJC's Avatar
 
Join Date: Sep 2008
Location: Tennessee
Posts: 48
search page

If I already have a homepage of a slideshow and then the galleries on another page will this code work to create the search page or mess up anything I already have?

www.imagesbyjeniferclark.com

I'm working on getting the navbar right but the search page is something that I need asap after the navbar corrections.

Thanks,
Jen

Quote:
Originally Posted by richW


Here is the explaination. devbobo wrote the code and I stole it from here: http://www.dgrin.com/showthread.php?p=355505#post355505

The following is the code I used for the search page.

In the css section:

.homepage #datesBox,
.homepage #keywordsBox {display:none;}

.find #datesBox,
.find #keywordsBox {display: block;}

.find #bioBox,
.find #categoriesBox,
.find #communitiesBox,
.find #featuredBox,
.find #ffBox,
.find #galleriesBox,
.find #popularPhotos {display:none;}

In the javascript section:

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

In the footer:

<*script type="text/javascript"*>

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

<*/script*>

Your new link to the search page is: http://markrogersphotography.smugmug.com/find

I didn't add the link yet. If you need me to, I can.

I gave you the search code for your extenal site via email. For everyone else. If you need to have a search form on an external site to search your SmugMug site, use the following code.

<form method="get" action="http://yourNickName.smugmug.com/search/index.mg">
<input type="text" name="searchWords" />
<input type="hidden" name="searchType" value="InUser" />
<input type="hidden" name="NickName" value="yourNickName" />
<input type="submit" name="sa" value="Search" size="20"/>
</form>

Replace "yourNickName" with your SmugMug nickname.

Have fun. Any question? Yell
IBJC is offline   Reply With Quote
Old Dec-17-2008, 11:20 PM   #8
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Guys, i put the code that you gave, but it ruined my separate galleries page.. this is my website www.lens-bh.com .. so far I'm happy with everything.. I didn't have the separate gallery page and i contacted smugmug and they replied really fast.. i'm done with that.. now the find page, when i put the codes in the css, top javascript, and the bottom.. my find page becomes exactly like my homepage, and even the galleries.

I would apreciate it if you guys could help me fast coz i'm preparing for a big opening on 2009
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Dec-26-2008, 10:20 AM   #9
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Quote:
Originally Posted by Mohamed.Ghuloom
Guys, i put the code that you gave, but it ruined my separate galleries page.. this is my website www.lens-bh.com .. so far I'm happy with everything.. I didn't have the separate gallery page and i contacted smugmug and they replied really fast.. i'm done with that.. now the find page, when i put the codes in the css, top javascript, and the bottom.. my find page becomes exactly like my homepage, and even the galleries.

I would apreciate it if you guys could help me fast coz i'm preparing for a big opening on 2009
It looks like the keywords and date boxes were in the control panel. I moved them back to the homepage and they should be on the 'find' page now. I'll check to see if everything else is in order for you.
richW is offline   Reply With Quote
Old Dec-26-2008, 11:49 AM   #10
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Quote:
Originally Posted by richW
It looks like the keywords and date boxes were in the control panel. I moved them back to the homepage and they should be on the 'find' page now. I'll check to see if everything else is in order for you.
Thanks dear, appreciation is all i can give
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Dec-26-2008, 12:11 PM   #11
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Ok what if I want a search bar there, and most popular photos, plus the map thing. But I want the layout to be like Andy's Moon River website.. Two box per row.. not all of them under each others.. (Take a look at Moon River Photography, the Keyword and around the world layout)

Thanks for helping :)
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Dec-28-2008, 12:57 PM   #12
Andy
SmugMug COO & House Pro
 
Andy's Avatar
 
Join Date: Dec 2003
Location: New York City
Posts: 52,230
Quote:
Originally Posted by Mohamed.Ghuloom
Ok what if I want a search bar there, and most popular photos, plus the map thing. But I want the layout to be like Andy's Moon River website.. Two box per row.. not all of them under each others.. (Take a look at Moon River Photography, the Keyword and around the world layout)

Thanks for helping :)
Hi Mohamed, please do wait for Rich, he'll be back online later. No need to write our help desk and post on Dgrin please, just post here, Rich gets the email notice because he's subscribed.
__________________
Andy

Moon River PhotographyTwitterFacebook
Andy is offline   Reply With Quote
Old Dec-29-2008, 12:15 AM   #13
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Quote:
Originally Posted by Andy
Hi Mohamed, please do wait for Rich, he'll be back online later. No need to write our help desk and post on Dgrin please, just post here, Rich gets the email notice because he's subscribed.
Ok I will.. it's just I'm planning for this big opening on 2009 and I need everything to be ready..

Ok I'll be waiting
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Jan-03-2009, 02:11 AM   #14
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Quote:
Originally Posted by Mohamed.Ghuloom
Ok I will.. it's just I'm planning for this big opening on 2009 and I need everything to be ready..

Ok I'll be waiting

Still I'm waiting
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Jan-07-2009, 03:03 PM   #15
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Something like this? http://lens-bh.smugmug.com/find
You may need to adjust some of the heights & widths to suit your needs. :)
richW is offline   Reply With Quote
Old Jan-07-2009, 06:28 PM   #16
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Quote:
Originally Posted by richW
Something like this? http://lens-bh.smugmug.com/find
You may need to adjust some of the heights & widths to suit your needs. :)
Thansk Rich.. you have really helped me.. Ok one last thing.. my site is zero search bar! how about adding a search bar on the top of that find page?
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Jan-07-2009, 09:42 PM   #17
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Quote:
Originally Posted by Mohamed.Ghuloom
Thansk Rich.. you have really helped me.. Ok one last thing.. my site is zero search bar! how about adding a search bar on the top of that find page?
Better? http://lens-bh.smugmug.com/find
richW is offline   Reply With Quote
Old Jan-08-2009, 06:21 AM   #18
Mohamed.Ghuloom
Eyes are my Camera
 
Mohamed.Ghuloom's Avatar
 
Join Date: Nov 2008
Posts: 215
Quote:
Originally Posted by richW
U rock man
Make a testimonial section in ur site and I would write you a BOOK
__________________
Your Best Camera is Your Eyes

AbulPhoto - www.AbulPhoto.com
Mohamed.Ghuloom is offline   Reply With Quote
Old Jan-08-2009, 12:12 PM   #19
richW
SmugMug Support Hero
 
richW's Avatar
 
Join Date: May 2006
Location: La Mirada, Ca. USA
Posts: 2,153
Quote:
Originally Posted by Mohamed.Ghuloom
U rock man
Make a testimonial section in ur site and I would write you a BOOK
You're Welcome....
richW is offline   Reply With Quote
Old Mar-04-2009, 03:06 PM   #20
utahlefty
Big grins
 
Join Date: Feb 2009
Posts: 26
Quote:
Originally Posted by richW
You're Welcome....
hey guys - I'm bringing this back up to the top to ask for some help.

I'd like to try duplicating this but it appears much of the adjusting/coding has been done offline.

any help appreciated!

(klarphotography.com)

matt
utahlefty is offline   Reply With Quote
Reply

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


Times are GMT -8.   It's 09:20 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.