<![CDATA[ Support/Comments for AjaxSearch - My Forums]]> https://forums.modx.com/thread/?thread=47850 <![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276911 rethrash Jun 13, 2008, 07:15 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276911 <![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276910 http://modxcms.com/forums/index.php/board,320.0.html .... From now on, please use the forum and create new topics for your issues.

I will be closing this topic soon too tongue...]]>
zaigham Jun 13, 2008, 06:53 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276910
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276909 AjaxSearch 1.7.1.

I have a "test" node under parent node (0), with content:
[!AjaxSearch!]

Calling the page:
http://mydomain.com/test

...the AjaxSearch works good, I can see the results and click them.

But, if I move the "test" node under another node - say - "home" under "en", it does not work!
That is, calling the page:
http://mydomain.com/en/home/test

...the AjaxSearch form is showed, I type something in, press the submit search button, and the searching and cross gifs are shown, but nothing else, and nothing is retrieved and showed.

What should I correct/do in order to have it working in my environment with friendly urls activated]]>
insert_nick Jun 11, 2008, 06:59 PM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276909
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276908 cbaone Jun 10, 2008, 06:20 PM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276908 <![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276907
[!AjaxSearch? &ajaxSearch=`1` &showMoreResults=`1` &moreResultsPage=`72` &highlightResult=`1` &hideMenu=`0` !]

The search is picking up a document that has no template, a page title and only has a line of text. It’s set to not searchable and hide from menu. I’ve tried putting a snippet in the blank document

[!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0`!]

And it’s still found in the search? Well the title shows up and is clickable.

Quote from: coroico at May 06, 2008, 02:20 PM

@rossco

I have a page that is hidden from the menu and not searchable but it’s still showing up in the ajax search ever using &hidemenu=`0`

What else am I missing from the snippet to not search hidden pages?
Look at the following test and try to search "constitution". Two pages are output as results but not the page http://www.modx.wangba.fr/education-right-en.html
Which is correct as I have set this page not searcheable and invisible from menu (you can’t see it in the english document list)

Which AS version do you use ? 1.7.1 I hope wink

]]>
rossco May 06, 2008, 03:49 PM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276907
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276906
I have a page that is hidden from the menu and not searchable but it’s still showing up in the ajax search ever using &hidemenu=`0`

What else am I missing from the snippet to not search hidden pages?
Look at the following test and try to search "constitution". Two pages are output as results but not the page http://www.modx.wangba.fr/education-right-en.html
Which is correct as I have set this page not searcheable and invisible from menu (you can’t see it in the english document list)

Which AS version do you use ? 1.7.1 I hope wink
]]>
coroico May 06, 2008, 09:20 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276906
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276905
I try use AjaxSearch without parameter &AS_landing because I have snippet on the rightsidebar.

I don’t want to redirect to any document id when search results are displayed.

When I use parameter &AS_landing suffix ’.html’ works correct. (so always I’m redirect to main page but I dont’ want this)

Ok, problem is solved.

sorry for english.]]>
adik May 06, 2008, 08:28 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276905
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276904 On http://www.modx.wangba.fr, i use friendly url with suffix .html

e.g: http://www.modx.wangba.fr/ajaxsearch-home.html or http://www.modx.wangba.fr/base171.html]]>
coroico May 06, 2008, 07:46 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276904
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276903
Now I’m testing v1.5 (v1.6 in the snippet). It is a default version in modx 0.9.6.1p2 - AjaxSearch with set suffix ".html" works correct...

So a problem is in versions: 1.7.1 and 1.7.0.2.]]>
adik May 06, 2008, 07:38 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=60#dis-post-276903
<![CDATA[Re: Support/Comments for AjaxSearch]]> https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=59#dis-post-276902 Quote from: coroico at May 06, 2008, 11:59 AM

@adik
As I have never used suffix for fiendly URL, I can’t help you and I haven’t enought time to investigate. Are your friendly url run without AS ?

Yes, without suffix ".html" everything works fine. I don’t know why AjaxSearch doesn’t work with suffix. sad

look at http://logrus.sytes.net/~kozy/ for an interesting use of AS with polish-utf8 Mysql charset

Thanks.
]]>
adik May 06, 2008, 07:08 AM https://forums.modx.com/thread/47850/support-comments-for-ajaxsearch?page=59#dis-post-276902