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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!