Jump to content

canwild

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

canwild's Achievements

Newbie

Newbie (2/6)

2

Reputation

  1. New: The developer can be based anywhere! We've just launched a new PW-powered version of our site, wcscanada.org. We're looking for an ongoing relationship with a PW developer for projects big and small. The initial contract is for $100 CAD/hour up to 150 hours, with the possibility of extension. Download the RFP here! About the site: The main module in use is ProFields repeater matrix, which provides a block-based building system for pages. Changing or adding blocks is likely to be a common request. The RFP deadline is 30 April 2024. Please reach out to wcscanadacomms@wcs.org with any questions. Thanks very much!
  2. Hi all, I'm looking for an elegant way to prioritize certain fields in search. Basically, a search for "pizza" should return a page titled pizza before a page with pizza somewhere deep in the text. What do you recommend? Thanks! $q = wire('input')->get('q'); $q = wire('sanitizer')->text($q); if($q) { $q = wire('sanitizer')->selectorValue($q); $selector = "title|summary|textarea|text|citation_author|citation_book|citation_publisher*+=$q"; $results = $results->filter($selector); } else { // }
×
×
  • Create New...