Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Display new links. No link to detailed page...

(Page 2 of 2)
> >
Quote Reply
Re: [afinlr] Display new links. No link to detailed page... In reply to
Hi All -

Here's an oldie but goodie brought back to life.

This global works great for me but since some of the descriptions are long, I'd rather they not appear on the home page. How would I remove the description from the output? I took out DESC in sort order but nothing changed so that's definitely not working.

Thanks in advance for your help.
Quote Reply
Re: [SSmeredith] Display new links. No link to detailed page... In reply to
You'll need to do this in your link1.html template.

Either

copy it and call it link2.html and remove the description - and then in the version of the global you use on the homepage put link2 instead of link1 ...

or edit the link1.html template with an <%unless template eq 'home'%>show description<%endunless%> type of thing. I can't remember of the top of my head whether there is a tag that identifies a page but if not you can just use <%set template = home%> at the top of the homepage.
Quote Reply
Re: [afinlr] Display new links. No link to detailed page... In reply to
Oh yes, I see. Thank you Laura, I'll give it a try.
> >