[solved] search module, after installed and edit template

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ozalkl
New Member
New Member
Posts: 2
Joined: Wed Apr 21, 2010 4:39 pm

[solved] search module, after installed and edit template

Post 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?
Last edited by ozalkl on Fri Apr 23, 2010 4:54 pm, edited 1 time in total.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

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

Post by reneh »

Do you have {content} in your template?
ReneH 8-)
A search will save you hours waiting for an answer! Image
ozalkl
New Member
New Member
Posts: 2
Joined: Wed Apr 21, 2010 4:39 pm

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

Post 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  :'(
Last edited by ozalkl on Thu Apr 22, 2010 5:48 pm, edited 1 time in total.
User avatar
manuel
Power Poster
Power Poster
Posts: 354
Joined: Fri Nov 30, 2007 9:15 am

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

Post 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
Do you like your open source cms? Buy from the CMSMS partners || Donate
Locked

Return to “[locked] Installation, Setup and Upgrade”