Page 1 of 1

[solved] search module, after installed and edit template

Posted: Wed Apr 21, 2010 4:45 pm
by ozalkl
hi,

i just setup my cmsms and i applied the {search} tag to my template to show the search function, when i try to search for example "picturesque" which is part of the content, and i already re-indexed my content, the url shows"http://localhost/cms/index.php?cntnt01s ... eturnid=57" but i do not get to see anything

can anyone tell me what i missed? did i configure the search module in the right way or there is steps to be done in order for the search to function?

Re: search module, after installed and edit template, when hit search no results

Posted: Wed Apr 21, 2010 10:07 pm
by reneh
Do you have {content} in your template?

Re: search module, after installed and edit template, when hit search no results

Posted: Thu Apr 22, 2010 5:06 pm
by ozalkl
yes, i have the content in my template.


currently when i type any keyword for example "site" the return url will be:

index.php?mact=Search%2Ccntnt01%2Cdosearch%2C0&cntnt01returnid=81&cntnt01searchinput=site&cntnt01origreturnid=15

and it dose not do anything, as the content page is empty  ???


update;

i added {search resultpage="searchresults"} in my template and everything is done by the book, i still cant show search results, but i can see that when i hit "search" button, it will go to the search page but without showing any search results or any sort of search content  :'(

Re: [solved] search module, after installed and edit template

Posted: Tue Nov 23, 2010 1:04 am
by manuel
Hi ozalkl,

Seems to me like the exact same issue i experienced when using pretty URL's for my site...
- search doesn't return any results
- when i added a "resultpage", the redirect seemed to work but still no actual search results where being displayed

In my case, i just didn't read all of the help file, oops  ;D
below you will find the bottom line from the search module help file:
(optional) search_method="get" - Pretty Urls Compatibility via Method POST, default value is always GET, to make this work just put {search search_method="post"}
Greetings,
Manuel