Gossamer Forum
Home : Products : Gossamer Links : Discussions :

SPAN PAGES IN USER SIDE SEARCH

Quote Reply
SPAN PAGES IN USER SIDE SEARCH
In admin mode the search result could be divided in few links per page .



how about user side search? when the user login and click modify links,

the programme will return all result in one page, could it be possible to have these

links span over several papge?



Thanks in advance
Quote Reply
Re: [courierb] SPAN PAGES IN USER SIDE SEARCH In reply to
Hi,

It should do this already. It's set to display 25 at a time. You can pass mh=5 into modify.cgi to display only 5 at a time.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SPAN PAGES IN USER SIDE SEARCH In reply to
Thanks Alex, i find it yestoday.

So what if user has lots of links there, would it be possible to have links displayed in montly based. for example:

Jan links

Feb links

...........

so when the user click Jan's link, user will only get list of Jan's link he submited.

there would be some modification made on query? could you let me know which part of the script should be involved in modification?



Many thinks
Quote Reply
Re: [courierb] SPAN PAGES IN USER SIDE SEARCH In reply to
Hi,

You would need to modify admin/Links/User/Modify.pm, sub _list_owned_links I believe.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SPAN PAGES IN USER SIDE SEARCH In reply to
Dear Alex,

could you let me know what is $nh ?
Quote Reply
Re: [courierb] SPAN PAGES IN USER SIDE SEARCH In reply to
Hi,

nh is the page number you are on (1 for first page of results, 2 for second, etc).

mh is the number of links per page.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SPAN PAGES IN USER SIDE SEARCH In reply to
Thank you