1
sarahmx
no log - mysearch module
  • 2010/6/19 0:00

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


When i use the xoops system search block and the custom search script provided in theme.html..

the search made by user is not log by mysearch

but when i use the ajax search block provided in the module the search made by user is log


so do i need to to really use the ajax block ?


how do i made it count/log the search using xoops system search block and the custom search


2
trabis
Re: no log - mysearch module
  • 2010/6/19 1:23

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I think mysearch has a normal search block also.
You can also edit the block template of system search and replace search.php by modules/mysearch/search.php
Do the same for the theme search box.

3
sarahmx
Re: no log - mysearch module
  • 2010/6/19 1:33

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


i cant see any normal search block for mysearch

i can only see this 4 Blocks
ajax search
Biggest users of the search
Last searchs
Stats

this is my theme search code

<input id="searchform" type="text" name="query" class="field" onfocus="if(this.value=='Search...') this.value='';" onblur="if(this.value=='') this.value='Search...';" value="Search..."/>
  <
input type="hidden" name="action" value="results" />&nbsp;
  form>


what do i need to change ?

4
sarahmx
Re: no log - mysearch module
  • 2010/6/19 1:35

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


if possible i want to use the xoops search and not mysearch search

5
trabis
Re: no log - mysearch module
  • 2010/6/19 9:16

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


In the code you show it is missing the element, there is where you find the reference to search.php

If you do not want to use mysearch search page and you are only interested in the loging, then you should use isearch from instantzero.

6
sarahmx
Re: no log - mysearch module
  • 2010/6/19 13:08

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


i forgot to paste the form code


OK solved using ISearch

TQ

Login

Who's Online

399 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 399


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits