WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Search result ranking
  • Print
Pages: [1]   Go Down

Author Topic: Search result ranking  (Read 4686 times)

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Search result ranking
« on: August 03, 2009, 07:58:29 PM »
Hi,

I created the "snippet" which can help you set priority on search result page. (something like google page ranking)

The snippet actually doesnt do anything  :-D, I only used it to alter the table - to add search_priority field in table pages. So when you install it, you can uninstall it  :-D

When you do that, you must update your files from the patched zip file. Files which are required to restore are the ones in admin/pages (where you define settings for page) and in WB backend themes.

Also you must replace some code in search/search.php file.. All is explained in zip file..

Now, when you do all that, you will find search_priority field in admin-pages-settings. Priority is tested for value between 1-99

Here is example:

Page 1: search_priority: 10
Page 2: search_priority: 30
Page 3: search_priority: 20
Page 4: search_priority: 5

I tested with WYSIWYG editor, and if you have text: " test " on all pages, on search result page you will gave result:

Page 4
Page 1
Page 3
Page 2

It would be nice if someone could repack this to admin 'tool', so you can see the list of pages with with search_priority values, for easier management ( something like user search module)

all best
ivan

[gelöscht durch Administrator]
« Last Edit: August 03, 2009, 08:00:48 PM by crnogorac081 »
Logged
Web developer

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Search result ranking
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2