Tag Archives: parameters

Parameters For Advanced Search (Mysql only)


search query string parameters (required)

 

q     basic query (search for exact word)

qw   all words (search for all words)

qx   exact words(same as q, but used on advanced search form)

qa   any words (search for any of the words)

 

search type parameter (t) (optional)

 

t=a  search whole website (same if t is not specified)

t=m search in all pages in single template menu (menu category)

       when t=m is used, m=menuname  parameter is required (notice: m parameter is case sensitive)

 

t=p  search in single page

       for special pages with category support (blog/podcast/photoblog/shop/lister) you can specify

       optional c=  parameter (category name)  or  cid  (category id)  (notice: c parameter is case sensitive)

 

 

search period parameter (p) (optional)

 

p=0  any time

p=1  last 24h

p=2  last week

p=3  last year

 

notice: p parameter can only be used together with (t) parameter

 

 

(notice: you can replace spaces with + in q,m,c parameters) 

 

example:

documents/search.php?q=ezgenerator&id=142&c=General&t=p 

will search in page with id 142 in category general for string ezgenerator

 

 


Print  posted by miro   Site Search tags:  • Search • parameters   permalink
3 3


[home] 


CATEGORIES



TAGS


RECENT ENTRIES