Page 1 of 1

Search module 1.54 problem, no results display on page desig

Posted: Fri Nov 30, 2012 4:50 pm
by newrecruit02
Greetings, I cant seem to get the search to point to a specific search page for search results. The only way I can get results to post is on the index page (which I am assuming is referencing the default in the system)

I referred to this document on proper instructions yet no results load when I specify a page for results. Its just a blank page

http://docs.cmsmadesimple.org/modules/core/search

My Code for the search script.

<!--Search -->
<div id=search>{search resultpage='search-results'}</div>
<!--End Search -->

Any Ideas?


CMS Version 1.10.3


Installed Modules
CMSMailer 2.0.2
CMSPrinting 1.0
FileManager 1.2.0
MenuManager 1.7.7
MicroTiny 1.1.1
ModuleManager 1.5.3
News 2.12.3
Search 1.5.4
ThemeManager 1.1.4
FormBuilder 0.7.3
Captcha 0.4.5
jQuery 1.2.0
CGExtensions 1.31
ExtendedTools 1.3.3
Analytics 1.2.2

Re: Search module 1.54 problem, no results display on page d

Posted: Sat Dec 01, 2012 10:18 am
by Jos
does the page with alias 'search-results' actually exist?

Re: Search module 1.54 problem, no results display on page d

Posted: Mon Dec 03, 2012 2:23 pm
by newrecruit02
it does exist, and it will point to the correct page but will show ZERO results. Like I said it will only post results to the index page, I have unistalled it and re-installed the 1.54v and it does the same problem. I dont know how to address this issue but its a real problem.

any thoughts?

Re: Search module 1.54 problem, no results display on page d

Posted: Wed Dec 05, 2012 9:55 pm
by newrecruit02
can someone please help me with this? is this a common problem????? I need to get this resolved ASAP!!

Re: Search module 1.54 problem, no results display on page d

Posted: Thu Dec 06, 2012 1:54 am
by applejack
Try search as {Search

What version of CMS ?

Re: Search module 1.54 problem, no results display on page d

Posted: Thu Dec 06, 2012 9:26 pm
by newrecruit02
That did not work, its just listed the text and no form.

{Search}

"CMS Made Simpleā„¢ 1.10.3 "Hyacinthe""

here is an example if you look it will not work on any internal pages, even when specified. the only way it works is on index.

http://www.atcomm.com/Support

please help I need to get this resolved!

Re: Search module 1.54 problem, no results display on page d

Posted: Thu Dec 06, 2012 9:37 pm
by applejack

Code: Select all

{search resultpage='search-results'}
Works fine for me in 1.10.3 on all the sites I run.

PM me if you would like me to take a look.

Re: Search module 1.54 problem, no results display on page d

Posted: Thu Dec 06, 2012 9:46 pm
by applejack
In mine the URL after submission is

search-results/?mact=Search%2Ccntnt01%2Cdosearch%2C0&cntnt01returnid=73&cntnt01searchinput=coffee&x=11&y=14&cntnt01origreturnid=63

Yours is

products/?mact=Search%252Ccntnt01%252Cdosearch%252C0&cntnt01returnid=62&cntnt01searchinput=solutions&submit=Submit

So obviously it is keeping on the same page and not including the cntnt01origreturnid variable

Have you tried setting the method as post. Also post your .htaccess file here.

Also switch on debug in the config and check the output.

Re: Search module 1.54 problem, no results display on page d

Posted: Thu Dec 06, 2012 9:58 pm
by applejack
Try this if not already in your config file

$config['page_extension'] = '/';

Re: Search module 1.54 problem, no results display on page d

Posted: Fri Dec 07, 2012 3:27 pm
by newrecruit02
applejack wrote:Try this if not already in your config file

$config['page_extension'] = '/';

THAT WORKED! THANKS!

Re: Search module 1.54 problem, no results display on page d

Posted: Fri Dec 07, 2012 3:46 pm
by applejack
Good after looking at your source code I thought that might be the issue.

Re: Search module 1.54 problem, no results display on page d

Posted: Tue Jan 29, 2013 8:56 pm
by Dr.CSS
If you are using pretty URLs it is always a good idea to use a real extension, .html, .php, etc., / is not an extension...