PDA

View Full Version : smugsearch problems


DanPorter
May-13-2006, 10:14 PM
I just updated my search box to SmugSearch and it appears to be working great on most pages. However, when I click on one of the popular photos on my homepage and then run a search, the search results are for all of smugmug and not just my site. How do I fix it so SmugSearch is only searching my site? If that's not possible, how do I remove the search feature from the popular photos navbar only?
Here's the URL for my popular photos page http://photos.dsporter.com/popular/

Here's what I get when I searched for 'test'
http://photos.dsporter.com/search/index.mg?searchWordsShort=test&searchType=global

Thanks,
Dan

Andy
May-14-2006, 04:07 AM
How do I fix it so SmugSearch is only searching my site? If that's not possible, how do I remove the search feature from the popular photos navbar only?
n
SmugSearch is context aware. If in a gallery, it searches the gallery - then you have options to drill-up, to category, site, and all of SmugMug.

.popularGallery #searchWordsShort, .popularGallery .searchglass {
display: none;
}

There are some ways to target and remove the "search all SmugMug" nav choices, but they only work in modern browsers so it's kinda pointless.