Posted on: 2013/6/22 16:13
please don't use inline styles or class even/odd and things in your modultemplates
while digging through some templatefiles of modules, it seems that regarding this topic not much has changed during the years I was absent.
Correct me, if I am wrong!
It's not that funny to clean templatefiles ... especially not, if you are not
I just wrote an article in my blog let's talk about xoops classes "even" and "odd"
It's not that funny to clean templatefiles ... especially not, if you are not a coder.
today, there we have other ways to achieve this.
using :nth-child(even) in css is only one little
thing you should use. While you would like to display data out of a loop there are not many arguments to use inline-styles or attributes like align="left" which makes it hard to override.
Using CSS we can grab those things and display them like we want, we can individually grab nearly any number of a child, the first, the last ... using the pseudo-selector :nth-child. Really no need to care for while creating modules, really.
Can we talk about this (again)?
why don't you use html element aside for your blocks? and section within module output? what about data-attribut?
Why you (module-developer) should use this?
For you, there will be no need to care for. Do what you can do best and which makes most fun for you.
sorry for just being back and actually a little bit sucked (once) again :( These are only some things I thought about while playing with xoops. It's really sad not to see those things i was used to use but not here in my old xoops.
I'm willing to help where I can, while playing with xoops themes.