Search module 1.54 problem, no results display on page desig

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

Search module 1.54 problem, no results display on page desig

Post 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
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

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

Post by Jos »

does the page with alias 'search-results' actually exist?
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

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

Post 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?
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

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

Post by newrecruit02 »

can someone please help me with this? is this a common problem????? I need to get this resolved ASAP!!
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post by applejack »

Try search as {Search

What version of CMS ?
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

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

Post 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!
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post 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.
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post 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.
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post by applejack »

Try this if not already in your config file

$config['page_extension'] = '/';
newrecruit02
Forum Members
Forum Members
Posts: 98
Joined: Wed Aug 01, 2012 7:46 pm

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

Post by newrecruit02 »

applejack wrote:Try this if not already in your config file

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

THAT WORKED! THANKS!
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

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

Post by applejack »

Good after looking at your source code I thought that might be the issue.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post 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...
Post Reply

Return to “Modules/Add-Ons”