Search bar problem
kriskay
Registered Users Posts: 2 Beginner grinner
Dear helpful people,
I am working on www.kristenkay.com and there is a problem with the search tool. The search tool only searches the page, which the user is on and not the entire site. Is there a way to either include all the pages in the search or have a "Find" page that searches all other pages (kind of like moon rivers)?
Thank you,
-Mike
Web Admin
I am working on www.kristenkay.com and there is a problem with the search tool. The search tool only searches the page, which the user is on and not the entire site. Is there a way to either include all the pages in the search or have a "Find" page that searches all other pages (kind of like moon rivers)?
Thank you,
-Mike
Web Admin
0
Comments
Having just completed an overhaul of my site, I too implemented the SMUGSEARCH and would like the search to search my entire site no matter where you are within the site (i.e. current behaviour is to search the gallery you are in if you are not on the homepage).
Does anybody have any answer on how to modify SMUGSEARCH to always search the entire site as this problem has been bugging me as well?
Thanks,
Craig.
http://ridley.smugmug.com
Facebook: http://www.facebook.com/craigridleyoutdoorphotography
Want to save $5 on a smugmug account? Use this coupon code: WzG2eZLQPGrqI
You do need to style the .searchResults page I think, to match the rest of your customizing.
Portfolio • Workshops • Facebook • Twitter
Portfolio • Workshops • Facebook • Twitter
To search your whole site on matter where you are at, remove the SMUGSEARCH if you like and add or replace with the following:
<!-- start standard search code -->
<*form method="get" action="http://NICK_NAME.smugmug.com/search/index.mg">
<*input type="text" name="searchWords" />
<*input type="hidden" name="searchType" value="InUser" />
<*input type="hidden" name="NickName" value="NICK_NAME" />
<*input type="submit" name="sa" value="Search" size="20" class="buttons"/>
<*/form>
Replace the 'NICK_NAME' with your site's nickname.
Remove the *'s after the '<'
<!-- end code -->
<!-- end code -->
<!-- end code -->
kriskay, which items are you looking to have on your search page? Knowing this will help me to write up all the needed codes. Let me know...
Rich - Thank you so much - this is exactly what was after! Works brilliantly on my site. Now I just need to make the search glass icon of my own to replace the boring search button (since the nice search glass disappeared with the SMUGSEARCH).
Thanks again for your quick response and solution!
Cheers,
Craig.
http://ridley.smugmug.com
Facebook: http://www.facebook.com/craigridleyoutdoorphotography
Want to save $5 on a smugmug account? Use this coupon code: WzG2eZLQPGrqI
nice navBar you got going there, looks good...
I don't remember where I found this, but to get the search glass, I've been using this line in place of the line containing 'input type="submit"' above.
<*input type="image" src="/img/spacer.gif" alt="Submit Search" title="Submit Search" class="searchglass" />
</pre>
Mark
Thanks...Works a treat! <img src="https://us.v-cdn.net/6029383/emoji/clap.gif" border="0" alt="" >
Facebook: http://www.facebook.com/craigridleyoutdoorphotography
Want to save $5 on a smugmug account? Use this coupon code: WzG2eZLQPGrqI