I am wondering if it's possible to remove the use of tables in a theme? Would this mess up plugins that uses styles of themes, or cause any other problem?
I want to completely over-haul the HTML for my upcoming themes, but I don't want to if it means breaking plugins that needs tables to blend end with themes.
I have worked with divs,spans,ul and other tableless HTML tags in mybb theme and full tableless setup wont' work without core edits (in php files ,some elements are hardcoded) and element edits in javascript files (moderation.js ,inside td tags are defined for highlight action when posts or threads are selected).Also plugins will require tableless rewrite (for example thank you / like plugin).
After 2 months of work i have released (semi)tableless theme called Twist-SD (
http://community.mybb.com/thread-109348.html ) and it's using minimal table tags in postbit,search results,subscriptions and threadlist.Original plan was to release full tableless theme but it would require 5 core edits in php files and two modified js files (related to moderation).
Don't do it. It's like saying you want to covert your car into a 4 wheel drive. What would be the point?
Making a custom theme is fine but if the goal is to remove tables then are you designing or just being anal about it?
Alright thanks, then I'd just stay with tables.
(2012-05-01, 12:27 AM)labrocca Wrote: [ -> ]Don't do it. It's like saying you want to covert your car into a 4 wheel drive. What would be the point?
Making a custom theme is fine but if the goal is to remove tables then are you designing or just being anal about it?
No, not being anal. If I was able too, I'd change it just to have more control and a better semantic layout. Guess we just have to wait for 2.0 for that.