Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Link Splitting

Quote Reply
Link Splitting
Would like to split each link up to a little table - where each has an alternate pastel coloured background. Any ideas on how this would be achieved? TIA.
Quote Reply
Re: [Gypsypup] Link Splitting In reply to
You mean on a category page?

Check the help docs for the Template tags ... odd / even are used for this.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Link Splitting In reply to
Yes - on a category page. Help Docs? Never read them. Never thought to. Hey - how usual is that!!!
My login with GT does not work anymore - have requested asist on that and as soon as I can will download these. Thanks Pugdog.
Quote Reply
Re: [Gypsypup] Link Splitting In reply to
Check Help link located at the top of your admin area (Top right corner).

Very useful!Smile

Specific info ...admin/admin.cgi?do=help&topic=GT/Template.html

Last edited by:

Payooo: Mar 16, 2004, 9:23 PM
Quote Reply
Re: [Payooo] Link Splitting In reply to
Yes - I actually did read that first - no joy. Re-read in case I missed something. I didn't. Thanks anyway...... Wil get the manual.
Quote Reply
Re: [Gypsypup] Link Splitting In reply to
  
Check this post http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=218345



Also, do a search on loop links - http://www.gossamer-threads.com/perl/gforum/gforum.cgi?do=search_results&search_forum=all&search_type=AND&search_string=loop+links

Last edited by:

Payooo: Mar 16, 2004, 9:51 PM
Quote Reply
Re: [pugdog] Link Splitting In reply to
I did get the latest manual from GT - very well written and helped me with a lot of things. Only thing I see missing is a complete list of tags documented which would be nice. Have to hunt through the docs to find things and not all are listed. Otherwise very well done.

Cannot find the odd/even that you spoke of, maybe I missed it but not for the want of trying. Any further help appreciated.
Quote Reply
Re: [Gypsypup] Link Splitting In reply to
Try replacing

Code:


<%if links%>
<%links%>
<%endif%>



with

Code:

<%if links%>
<%loop links_loop%>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="<%if even%>#CCCCCC<%else%>#999999<%endif%>">

<%include link.html%>

</td>
</tr>
</table>

<%endloop%>
<%endif%>


Just change td colors to your own ...

Hope that helps
Quote Reply
Re: [Payooo] Link Splitting In reply to
That my friend - works perfectly.... Brilliant in fact.
Many thanks to you. Now allows me to really customise the page the way I wish to.
Again - thanks.
Quote Reply
Re: [Gypsypup] Link Splitting In reply to
Great Smile