We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Plugin: Multisite Search Helper / Cross-Site Searching (Twomile)

Development and Programming

Corey Snipes's avatar
Corey Snipes
34 posts
16 years ago
Corey Snipes's avatar Corey Snipes

We needed to allow cross-site searching in a multisite application, so I created a plugin for this. It’s extremely feature-thin, but gets the job done for us. It does respect open-vs-closed entry statuses, and it does check your search-enabled custom weblog fields. Weblog entries configured as pages in the Pages module are linked to their page URI. All other entries are linked to the path provided in the weblog search result path preferences. This plugin doesn’t change the built-in search functions, so you can use both single-site and cross-site searches in the same application if you wish.

Feel free to download, modify, and use the plugin for anything you like. Please do let us know if it’s helpful to you.

http://www.twomile.com/services/add-on/expression-engine-multi-site-search-helper

If you improve it, send me your updated version and I’ll post. This useful life of this plugin may be brief; there’s a feature request to allow cross-site searching within the base search features, here:

http://ellislab.com/forums/viewthread/68133/

       
Corey Snipes's avatar
Corey Snipes
34 posts
16 years ago
Corey Snipes's avatar Corey Snipes

Updated to version 1.1.0 - November 11, 2008

Fixed a bug which caused the user’s current site ID to be reset. Added tag parameter allowing the specification of one or more entry statuses

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

This looks like it might be just what I’m looking for. I’m trying to use it to search a custom field but I’m not clear on the syntax. This is what I have that works on site_1 but not site_2:

{exp:weblog:entries site="e_calendar"  search:loc_city="Ansonia|Beacon Falls|Derby|Naugatuck"  
weblog="{my_weblog}" sort="asc" limit="3"}
...{/exp:weblog:entries}

Thanks.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.