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

Products: Gossamer Links: Development, Plugins and Globals: Re: [jdgamble] <li> links.html template: Edit Log

Here is the list of edits for this post
Re: [jdgamble] <li> links.html template
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

Edit Log: