According to Jonathan Schlackl:
>   Funny this message came through today - I was having the exact same
> issue.....however I am using 3.2.0b4 - is there a patch for that version
> for Google-style paging? Or is it already built in and I'm just not
> aware of it? Any help would be great! Thanks!

It's not already built-in, and if a patch specific to 3.2.0b4 exists,
I'm not aware of it.  However, if you look at the patch, you can see that
it's pretty trivial, so even though it can't be applied directly to the
3.2 code base, you can easily make this change by hand.  The surrounding
code has changed just enough that the patch doesn't apply, but the
functioning of the loop is the same, so the added code from the patch
should do the job.

> > According to Irene talaway:
> >> Sometimes the search results fit on more than 20 pages, and for me
> >> it's not good enough to display all page numbers together. I wonder if
> >> I can modify the pagelist so that the search result page will display
> >> only ten page number in the PAGELIST variable, and if my current page
> >> is 10 and then I click next page text (e.q [NEXT]), the PAGELIST will
> >> show page number 6 to 15. Or the PAGELIST will show the next 10 page
> >> number (11 to 20).
> >>
> >> Is there any way for doing this???
> >
> > This is what's known as Google-style paging.  You can do it in 3.1.6 if
> > you apply this patch:
> >
> >     ftp://ftp.ccsf.org/htdig-patches/3.1.6/Google-style.0
> >
> > The thing is this won't work well with graphical buttons for page links,
> > because you're not likely to have numbered button icons for all the page
> > links which could potentially come up with this scheme.  So, you usually
> > have to remove the page_number_text and no_page_number_text attributes
> > from htdig.conf so htsearch defaults to text-only links.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to