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.
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.