search result on multiple pages

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

search result on multiple pages

Post by jmeyknecht »

hi, i've searched the forum and just found somewhere, that someone reported, that the search within phpwcms returns results only on one page.

is this fixed already? or has someone done a hack for this?
Pappnase

Post by Pappnase »

hello i test this.

you can configure how many right hits would be shown but at my space it doesn't work. :cry: maybe it's not work correct.
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

ok, i had a look into the sourcecode and... well, it wasn't implemented yet.

so, i enhanced this function and we published it.

you can dowload it here: http://www.emediafabrik.de?CID=362

a sample is here: http://www.vanossy.de?search
search for "is" or something like that to get many search results...

gr33tz, vanOssy
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

now do it for number of articles in a category and contentparts in an article ;)

only playing, nice work :)
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

jmeyknecht wrote:
a sample is here: http://www.vanossy.de?search
search for "is" or something like that to get many search results...

gr33tz, vanOssy
well when I test it "next" doesn´t work.. I do not come to the next page

I just get:

But I look your top function... My I use it?
http://www.studmed.dk Portal for doctors and medical students in Denmark
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

hmmm. what were you searching for? i need to know to look where the error is...

the "flying top" was programmed from me in javascript. if you leave the original author information, you can use it.
tyr
Posts: 31
Joined: Tue 9. Dec 2003, 04:36
Location: Pennsylvania, USA

Post by tyr »

I tested it using "is" and the "next"/ "prev" links worked. I'm using IE6 on WIndows 2000.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

Ihave tested it with firefox and it too is fine.
i have seen this 'floating top' before, only it was the whole nav_table using it - very cool :)
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

Ihave tested it with firefox and it too is fine.
i have seen this 'floating top' before, only it was the whole nav_table using it - very cool :) http://www.myvue.com then use the cinema search for any cinema
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

frold wrote: well when I test it "next" doesn´t work.. I do not come to the next page

I just get:

But I look your top function... My I use it?
It was on a win2k and IE at the university... :-(

@home it work :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

@frold. hmmm. maybe you can test is again and tell more about the browser that it is used, etc.. javascript, etc...

i'll have to find the error ;-)

btw. with this script, it is also possible to go to next or prev page by a simple form button.
this should be more browser compliant because no javascript code is needed.

but i tested a lot of and here it worked... :-/
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

jmeyknecht wrote:@frold. hmmm. maybe you can test is again and tell more about the browser that it is used, etc.. javascript, etc...

i'll have to find the error ;-)

btw. with this script, it is also possible to go to next or prev page by a simple form button.
this should be more browser compliant because no javascript code is needed.

but i tested a lot of and here it worked... :-/
I forgot to say it was IE5.0
http://www.studmed.dk Portal for doctors and medical students in Denmark
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

@pSouper: i wrote this javascript function 1 1/2 years ago for an intranet application. it supports nearly all browsers, even netscape 4.x

i did not check for a while, but it should work still today in nearly all browsers. i think there's no prob to fix it for newer browsers too.

i've tested also with safari, but not yet with Konqueror 3.2
if anybody has, could you please check? ;-)
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

frold is right! it is not working in IE 5.0 (the link version)
button version should work because no javascript code is needed, just standard html.

ok, i will have a look, why it's not working in IE 5.0
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

sooo... updated and fixed...

IE 5.0 and NN 4.7 seem to not support hyperlinks with "blank anchor" # and onclick event for submitting forms. so it is now changed to

Code: Select all

... href="javascript:document.next.submit()"
download is available here: http://www.emediafabrik.de?CID=362

thx frold for reporting that bug.
people plz check with other browsers too. thx
Post Reply