Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [jdgamble] <li> links.html template

Quote Reply
Re: [jdgamble] <li> links.html template In reply to
Hi

"I HAD a problem displaying <li> on each link."

The standard template which comes with the install is


<%--
File : link.html
Description : This file displays a single link. It is used on category listings,
search results, what's new, what's cool, pretty much anywhere you
see a link.
Tags : You have all the properties of a link available on this page, plus:
detailed_url => The URL to the detailed page (if enabled in admin).
isLinkOwner => True if the logged in user owns this link (used to
provide a link to the modify form).
--%>
<ul>
<li> <%body_font%><a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a></font>

<%if isNew%>



As you mentioned above, so if you can't get the <li> to display on every link there is something very wrong.

You’re Example:
<ul>
<li>first link</li>(not required) < I'm presuming you mean the </li> not the 1st link ?
<li>second
<li>third etc.
</ul>

I'd probably do the following in category.html template.
<ul>
<%links%>
</ul>

And delete the <ul> </ul> from the link.html template so it should display as your example.
And use the previous "if and else" statements to target specific area's.

Regards

minesite

Last edited by:

minesite: Sep 5, 2004, 4:02 AM
Subject Author Views Date
Thread <li> links.html template jdgamble 10235 Sep 2, 2004, 4:15 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10109 Sep 3, 2004, 3:04 AM
Thread Re: [minesite] <li> links.html template
Andy 10201 Sep 3, 2004, 3:24 AM
Thread Re: [Andy] <li> links.html template
jdgamble 10100 Sep 3, 2004, 2:51 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10119 Sep 3, 2004, 3:45 PM
Thread Re: [minesite] <li> links.html template
jdgamble 10080 Sep 3, 2004, 4:37 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10106 Sep 3, 2004, 4:56 PM
Thread Re: [minesite] <li> links.html template
jdgamble 10120 Sep 4, 2004, 2:09 AM
Thread Re: [jdgamble] <li> links.html template
minesite 10071 Sep 4, 2004, 2:48 AM
Thread Re: [minesite] <li> links.html template
jdgamble 10119 Sep 4, 2004, 3:04 PM
Post Post deleted by minesite
minesite 10041 Sep 4, 2004, 5:50 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10060 Sep 4, 2004, 6:11 PM
Thread Re: [minesite] <li> links.html template
jdgamble 10099 Sep 4, 2004, 6:49 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10067 Sep 4, 2004, 7:06 PM
Thread Re: [minesite] <li> links.html template
jdgamble 10089 Sep 4, 2004, 7:14 PM
Thread Re: [jdgamble] <li> links.html template
minesite 10071 Sep 4, 2004, 7:40 PM
Thread Re: [minesite] <li> links.html template
jdgamble 10057 Sep 5, 2004, 12:55 AM
Thread Re: [jdgamble] <li> links.html template
minesite 10098 Sep 5, 2004, 2:26 AM
Thread Re: [minesite] <li> links.html template
jdgamble 9997 Sep 5, 2004, 2:44 AM
Thread Re: [jdgamble] <li> links.html template
minesite 10005 Sep 5, 2004, 3:57 AM
Thread Re: [minesite] <li> links.html template
jdgamble 10039 Sep 5, 2004, 4:17 AM
Thread Re: [jdgamble] <li> links.html template
minesite 10023 Sep 5, 2004, 4:40 AM
Post Re: [minesite] <li> links.html template
jdgamble 10037 Sep 5, 2004, 4:49 AM
Post Post deleted by minesite
minesite 10062 Sep 4, 2004, 3:05 AM