Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Display new links on new page, not date list

Quote Reply
Display new links on new page, not date list
Is there any way that I can display the actual list of new links on the New page rather than a list of dates?

Also, I have noticed that there is no info displayed when there are no new links. How can I display "There are currently no new links available" in this case?

Thanks
Quote Reply
Re: [MJB] Display new links on new page, not date list In reply to
Hi,

You should be able to do this in new.html, and add this:

Code:
<%Plugins::ULTRAGlobals::Latest_New_Links(100)%>
<%if Latest_Links_Loop.length%>
<%loop Latest_Links_Loop%>
<%include link.html%>
<%endloop%>
<%endif%>

Comment out the existing template code, and then do a build.

It will still build pages like /New/10-12-2009.html etc though.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates