Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2014-01-11 14:32:33

etc
Developer
Registered: 2010-11-11
Posts: 5,393
Website GitHub

Re: [solved] Archives by dates - listing articles per each month of the yr

monicahu wrote #278010:

So, which solution is better (see my post on page 1)

Your server would certainly prefer your solution (less tags to parse), but then you have to care about the empty initial <ul></ul>. Imagine that you (or your successor) style ul with some borders/margins, then this empty list will appear on the page. You could assign it some id/class and set corresponding CSS/JS hiding rules, but this would require some extra processing from the client (browser). The difference between both methods is imperceptible anyway, so it’s more a matter of religion.

Offline

#14 2014-01-12 07:52:14

monicahu
Member
From: Sydney NSW
Registered: 2009-03-07
Posts: 69

Re: [solved] Archives by dates - listing articles per each month of the yr

etc wrote #278044:

… The difference between both methods is imperceptible anyway, so it’s more a matter of religion.

Thank you Oleg.


Monica
Life with God is the purpose.

Offline

Board footer

Powered by FluxBB