Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Template Feedback Needed

Quote Reply
Template Feedback Needed
Hi!

We are working hard on 2.1 and I'm considering breaking template compatibility by introducing loops and I'd like people's thoughts on this.

Basically, it would be moving more of the HTML into the templates. So for your category listing, instead of:

<%link_results%>

You would see:

<%loop link_results%>
<li><%include link.html%>
<%endloop%>

and this would run through each link in the category and include the link.html template to display. You would see similiar things for search results. This means it would be easy to alter the look of new links versus search results versus category listings. They all wouldn't be based off of link.html (well, by default they would, but they wouldn't have too).

I wouldn't want to have to support both styles, as it could be quite ugly in the code.

Let me know what you think, is this worth it?

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread Template Feedback Needed Alex 4217 Jul 17, 2001, 3:59 PM
Post Re: Template Feedback Needed
Eraser 4078 Jul 17, 2001, 5:33 PM
Post Re: Template Feedback Needed
rover 4064 Jul 17, 2001, 5:48 PM
Post Re: Template Feedback Needed
pugdog 4057 Jul 17, 2001, 9:50 PM
Thread Re: Template Feedback Needed
Pitman 4048 Jul 18, 2001, 1:24 AM
Post Re: Template Feedback Needed
Stealth 4033 Jul 18, 2001, 6:08 AM
Thread Re: Template Feedback Needed
BryanL 4042 Jul 18, 2001, 6:32 AM
Thread Re: Template Feedback Needed
Michael_Bray 4045 Jul 18, 2001, 7:23 AM
Post Re: Template Feedback Needed
jdunes 4011 Jul 18, 2001, 9:39 AM
Thread Re: [Alex] Template Feedback Needed
Evoir 3899 Aug 30, 2002, 12:08 AM
Post Re: [Evoir] Template Feedback Needed
afinlr 3850 Aug 30, 2002, 3:14 PM