Nov 20, 2008, 06:33 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Read what MODx Developers say: MODx Dev. Blogs
Pages: [1] 2   Go Down
  Print  
Author Topic: [solved] Search refuses to work.  (Read 5215 times)
0 Members and 1 Guest are viewing this topic.
cryptomancer
Jr. Member
*
Posts: 27


« on: Nov 17, 2005, 05:38 AM »

In manager it works, but on site - not. What am i doing wrong ?

System configuration - as in /http://modxcms.com/forums/index.php?topic=1416
« Last Edit: Dec 01, 2005, 03:52 AM by zi » Logged
banzai
Testers
*
Posts: 857


MODx Italia


WWW
« Reply #1 on: Nov 17, 2005, 05:50 AM »

FlexSearchForm snippets don't works? have you set the result page?
Logged

MODx Websites Showcase 
Add your site to www.modx.it!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5   | VIDEO: MODx PHP Application Framework  |  bubuna.com - Web & Multimedia Design
zi
MODx Special Forces /
Administrator
*
Posts: 3,003


May Peace Be On You


WWW
« Reply #2 on: Nov 17, 2005, 06:09 AM »

You have to create a new page for search results and then use the snippet like this
Code:
[!FlexSearchForm?FSF_landing=1234!]

Where 1234 = your new page created for search results

Hope it helps.

regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
cryptomancer
Jr. Member
*
Posts: 27


« Reply #3 on: Nov 18, 2005, 02:46 AM »

Code:
[!FlexSearchForm?FSF_landing=1234!]
Where 1234 = your new page created for search results

Cheched out - it was initially by default, in either search and 404 pages. Not working.
Results doc contains:
Code:
[[FlexSearchForm? &FSF_showForm=`0`]]
Logged
zi
MODx Special Forces /
Administrator
*
Posts: 3,003


May Peace Be On You


WWW
« Reply #4 on: Nov 18, 2005, 03:04 AM »

What is you site address ?
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
cryptomancer
Jr. Member
*
Posts: 27


« Reply #5 on: Nov 18, 2005, 03:34 AM »

What is you site address ?

http://modx at localhost.
I may search the docs how to open it externally, but this may be tricky - it has "virtual servers" for several projects, all written into hosts file to 127.0.0.1 IP.
Logged
zi
MODx Special Forces /
Administrator
*
Posts: 3,003


May Peace Be On You


WWW
« Reply #6 on: Nov 18, 2005, 05:26 AM »

try with [!...!] uncached snippets..

Here what I did for my site (internal development)

1. I created a new page, named it Search Results, then I read its ID (e.g. 28)

2. Now I write this code in my template where I want to show the search box
Code:
[!FlexSearchForm?FSF_landing=28!]
3. Now go to the newly created page (e.g. page 28 named Search Results)

4. Put this code inside it
Code:
[!FlexSearchForm?FSF_showForm=0!]

5. make sure the result page is published

Now this should work (and it is working for me)

regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
cryptomancer
Jr. Member
*
Posts: 27


« Reply #7 on: Nov 18, 2005, 06:27 AM »

No, it did not work.
Logged
zi
MODx Special Forces /
Administrator
*
Posts: 3,003


May Peace Be On You


WWW
« Reply #8 on: Nov 18, 2005, 06:49 AM »

No, it did not work.

Try refreshing your site from menu too.

The last thing I can do is to see/check it myself, can you make it online ?

Otherwise I am afraid that I (or may be we) wont able to help you further in this regard unless someone already hit by the same problem and solved it.

I hope you can understand this Smiley

regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
cryptomancer
Jr. Member
*
Posts: 27


« Reply #9 on: Nov 18, 2005, 07:40 AM »

OK, today's workday ends in 30 minutes, but at Monday i can open it for you if you tell me your IP address. I'm afraid of being cracked by worms etc if i'll open to all Inet my development environment what is made with zero regard of security - authors of the package warn against this.

What is your timezone ? My comp is up Mon-Fri from about 9:00 to 18:00 GMT+3 (Moscow, Russia)
Logged
rthrash
Foundation
*
Posts: 9,511



WWW
« Reply #10 on: Nov 18, 2005, 07:45 AM »

Hi cryptomancer,

We'll get this figured out, and also by Monday we'll have the first Russian translation done for you as well! Wink

Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
cryptomancer
Jr. Member
*
Posts: 27


« Reply #11 on: Nov 21, 2005, 01:06 AM »

We'll get this figured out, and also by Monday we'll have the first Russian translation done for you as well! Wink

Thanx, it gonna be nice. I threw in RU file from Etomite, but MODx complains about it's incompleteness.

Do i need to open my host for your inspection ? Please tell me your IP adress !
Logged
Djamoer
Testers
*
Posts: 1,492

No one can limit a man other than the man himself.


WWW
« Reply #12 on: Nov 21, 2005, 02:09 AM »

It works just fine with me.

I just set the landing id for the search box, and set hat page to display the result, with the given snippet syntax by zi.

The only thing that concern me, when I use relevance searching, it won't displayed any result, but when I use partial, it is able to display the result. Why is that? Is it a bugs?

Another thing, is it possible to search on sub sites (specific folders), instead of the whole website found another thread about this, but it's been like a few months ago. Hope there is someone else who had implemnt it already.

Regards,
Wendy Novianto
Logged

rthrash
Foundation
*
Posts: 9,511



WWW
« Reply #13 on: Nov 21, 2005, 02:53 AM »

The searching capabilities could use some improvement. xyzvisual has dome some work here, so you might search for some of his posts.
Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
jaredc
Coding Team
*
Posts: 290



« Reply #14 on: Nov 21, 2005, 07:15 AM »

For relevance searching to work, the words searched for need to be at least 4 characters long. So for instance a search for: "Ian has a red hat" will turn up nothing. Partial on the other hand will work. This is both a limitation of the snippet itself and of MySQL and how it handles searches. I've been meaning to give FlexSearchForm a boost in functionality to help alleviate this issue and make its search more natural... it's just finding the time to do it... Huh

Also, I can't emphasize enough that your search results page CANNOT be cached. I've seen that throw more people off than any other "config" error. I hope that's the problem because it's an easy fix  Wink
Logged

Standard Disclaimer
I could be totally wrong.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!