error using old walk database with new "group-by" dowalk script

edev
Posts: 127
Joined: Wed Sep 14, 2005 5:10 pm

error using old walk database with new "group-by" dowalk script

Post by edev »

Thanks Mark,

I did try fast result count and it seems to be faster.
I also want the format result style of the children links to be different than the parent one. Right now all links are displaying using the same result style, is there anything I can change in the <result> function to make $RpsMoreResultsHTML use a different style?

I'm not sure how to change the line below to reflect a new result style.
<if 8 neq $SSc_resultstyle> <!-- not XML output -->
<send $RpsMoreResultsHTML><$RpsMoreResultsHTML = >
</if>

I tried setting <$SSc_resultstyle = resultMore> where I created <a name=resultMore> as the new style but it didn't work...
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

error using old walk database with new "group-by" dowalk script

Post by mark »

That's the html that surrounds the persite results. It doesn't control the style of the individual results. You could change

<switch $SSc_resultstyle>
...
</switch>

to something like

<if 1 ge $RpsCount>
<switch $SSc_resultstyle>
...
</switch>
<else>
<resultConcise>
</if>
edev
Posts: 127
Joined: Wed Sep 14, 2005 5:10 pm

error using old walk database with new "group-by" dowalk script

Post by edev »

Thank you Mark, it worked!
Post Reply