[joomla] Template structure
masimko at optonline.net
masimko at optonline.net
Tue Nov 13 16:51:11 EST 2007
Date: Tue, 13 Nov 2007 15:59:50 -0500From: "Mitch Pirtle" <mitch.pirtle at gmail.com>Subject: Re: [joomla] Template structureTo: "NYPHP SIG: Joomla" <joomla at lists.nyphp.org>Message-ID: <330532b60711131259t652cadb4g3a4093d8200486a4 at mail.gmail.com>Content-Type: text/plain; charset=UTF-8On 11/13/07, masimko at optonline.net <masimko at optonline.net> wrote:> I'm looking through the documentation, and I've noticed that the template> structures I've looked at so far are using tables for placement of modules.> While I realize that this is by far the simplest method of insuring> placement across browsers because of differences in rendering of css, I know> it is deprecated for xhtml.>> I considered putting together my own template that uses div tags and css> blocks, it looks to me like the mosLoadModules functions relies upon table> cells for its output.>> Am I correct that all workable templates are structured with tables?Nope - check out RocketTheme and their GPL template (I forget thename). It was advertised as XHTML valid and no tables for layout, andit should be a good example.A good friend of mine has produced some stunning templates based on1.5, and I'm thinking of asking him to release a basic (blank)template for the rest of us to have a good starting point - as hiswork included compliance with Dutch accessibility requirements andalso has some pretty astonishing results regarding pagerank and suchas a result...-- Mitch***************************I was looking at the RocketThemes GPL template when I came to the conclusion about the theme structure. Here's the rokwebify theme structure stripped down:</head><body id="page_bg"> <div id="mainbody"> <table class="mainbody" cellspacing="0" <tr valign="top"> <td class="mainbody"> <table class="usermodules" <tr valign="top"> <td class="usermodules"> </td> <td class="usermodules"> </td> </tr> </table> </td> <td class="right"> </td> </tr> </table> <table class="usermodules" cellspacing="15"> <tr valign="top"> <td class="usermodules"> </td> <td class="usermodules"> </td> <td class="usermodules"> </td> </tr> </table> It's all table, and that's all deprecated.I love that it works, but it is something to think about!Mark Simko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20071113/09e6213d/attachment.html>
More information about the Joomla
mailing list