Gossamer Forum
Home : Products : Links 2.0 : Customization :

What's new !!

Quote Reply
What's new !!
Hi, Is there anyone way to do this
=====================================
If i click the what's new, it bring the pages like this
Tuesday, March 20 2001 (1).
Friday, March 16 2001 (4).
Thursday, March 15 2001 (1).
Wednesday, March 14 2001 (2).
Tuesday, March 13 2001 (2).
Monday, March 12 2001 (2).
Saturday, March 10 2001 (2).
Thursday, March 8 2001 (3).
Wednesday, March 7 2001 (2).

once u click the the date it take you to the other page where it show u the links.

I want to do this way, once you click on what's new it should display sites by category(same like search result) instead of the above things.

thanks
netmastan


Quote Reply
Re: What's new !! In reply to
In links.cfg make sure you have $build_span_pages = 1;

Make sure you have that at 1 and not 0

-------------
Jeremy
Quote Reply
Re: What's new !! In reply to
thanks for ur reply, the value is already one.
It did not help.
I think you did not understand my broken english.
Thanks again
netmastan



Quote Reply
Re: What's new !! In reply to
somebody help please ... i need to know too how to make a whats new page will show up all the detail all the new link instead of show the date.

Thanks ...

Quote Reply
Re: What's new !! In reply to
why no one try to answer this question .. please help

Quote Reply
Re: What's new !! In reply to
Where are the cgi guru ?
Please help us

thanks
netmastan

Quote Reply
Re: What's new !! In reply to
sorry ..i just make this topic to the top :)

Quote Reply
Re: What's new !! In reply to
netmastan,

i think no one will try to help us ... Frown

Quote Reply
Re: What's new !! In reply to
You will need to hack sub build_new_page in nph-build.cgi



Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: What's new !! In reply to
Hi Paul,

Sorry to say, i just have an idea but i really dont know how to hack or to customize it, so i hope anyone in this forum who have a knowledge and experience will help to our idea come true Smile

Quote Reply
Re: What's new !! In reply to
OK I am going to test a few things and will post the code....



Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: What's new !! In reply to
Hi Paul,

Thanks for the mod, i gonna try right now..

Thanks again.

Quote Reply
Re: What's new !! In reply to
Open nph-build.cgi go to the sub build new page find a section/foreach statement beginning with:

CATEGORY: foreach $category (sort keys %{$link_output{$date}}) {


Replace the whole statement with:

CATEGORY: foreach $category (sort keys %{$link_output{$date}}) {
$link_results .= ${$link_output{$date}}{$category};
}



Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: What's new !! In reply to
Hi, sorry read my last post I edited it.

That code I posted wont work.....

Give me about 15 mins...

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: What's new !! In reply to
Ah sorry, just read the the thread more... you want to span the new links by category instead of date. In that case ignore what I put above.

Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: What's new !! In reply to
Hi Paul,

Its ok...take your time and thank you very much for help

Quote Reply
Re: What's new !! In reply to
Ack.....Im confused now about what is being asked.

Are all new links meant to show on the What's New page or is it meant to be like....


New Links:

Category1 (1)
Category2 (7)
Category3 (4)

??

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: What's new !! In reply to
Ok guys thanks.. i am waiting for this hack.
Some people mis understood my broken english.Here it again what i want.
----------------------------------------------
When you click on the what's new link, the default settings is that it will bring one page where show you when the new pages added like this way :
Tuesday, March 20 2001 (1).
Friday, March 16 2001 (4).
Thursday, March 15 2001 (1).
Wednesday, March 14 2001 (2).
Tuesday, March 13 2001 (2).
Monday, March 12 2001 (2).
Saturday, March 10 2001 (2).
Thursday, March 8 2001 (3).
Wednesday, March 7 2001 (2).

so, what i want ? when i click what's new it should bring the new sites same like search result.(instead of showing them in the date format like the above one).

Thanks again

netmastan
netmastan@hotmail.com

Quote Reply
Re: What's new !! In reply to
Yes Paul,

All new links to show on the What's New page, is it meant to be like....

New Links:

Category1
Links1
Category2
Links2
Category3
Links3

Thanks ...



Quote Reply
Re: What's new !! In reply to
Hi Paul,

Did u solve yet this kind of situation can be done ?

Thanks ...

Quote Reply
Re: What's new !! In reply to
Looks like there is no guru in this board ?


Quote Reply
Re: What's new !! In reply to
Ehhhh ... try http://.../search.cgi?isNew=Yes

See http://www.gotzespace.dk/...search.cgi?isNew=Yes

Quote Reply
Re: What's new !! In reply to
Ok Boss , you got the certificate -you are a Guru .
hehehehehe..

It's work,but i have to put the link manually.
Thanks
netmastan

Quote Reply
Re: What's new !! In reply to
ok now i put the code for the link is
<a class="menulink" href="<%db_cgi_url%>/search.cgi?isNew=Yes">What's New</a>

It's ok