Daily Archives: January 10, 2007

Lifetype templates – reprise

During the new year bug squashing session we (Shah and I) managed, to check and fix some of the templates that had problems. We found the cause of the "<ul> error" that afflicted some of the themes (probably most of them are afflicted, but we fixed only the ones that only had that single error): when a link category had no links the template would create an <ul> with no <li> elements, causing a validation error. We had to add an IF smarty directive to check the presence of links and leave the whole <ul> out when it contained no links. We also added links back to noblogs and autistici or admin and album links to some of the templates that lacked them.

The list of validating templates has thus grown a little:

  • blufill
  • cab
  • connections
  • darkfire
  • dots
  • drove-all-night
  • flower
  • flyupsky-daytime
  • flyupsky-evening
  • gutenberg
  • human condition
  • innerscape
  • mars-spirit
  • minitemplate
  • outback
  • pink_lilies
  • reic
  • reic1
  • ShadedGrey
  • StreetCorner
  • toni
  • water_play

We chose to let user-modded templates untouched, so if you were using one of the templates that we corrected you may want to go back to their default version and reapply the changes you made, so you can take advantage of the fixes.

Unfortunately it looks like deleting existing templates can cause some troubles so the "they-give-you-motion-sickess ugly" ones are going to stay. 

Unglyness is never out of fashion.

Continue reading


Sometimes dreams come true…

iPhone photography Continue reading