Reply New Topic
2007/12/13 9:22:37
#1
Offline
Home away from home

Re: ImpressCMS Theme

I have a little trouble using James framework, although the code looks very good, it's been difficult for me to understand and apply the design to it in a way that it doesn't take me too long to do.

If it were me to do it I'd most likely using the following html:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<{* Center blocks display order valid values are: lrc (left right / center) lcr (left center right) clr (center / left right) *}>
<{assign var=theme_top_order value=clr}>
<{assign var=theme_bottom_order value=clr}>
<{assign var=theme_name value=$xoTheme->folderName}>

<title><{$xoops_pagetitle}> : <{$xoops_sitename}> : <{$xoops_slogan}></title>

<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />


<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl /favicon.ico}>" />
<link rel="icon" type="image/png" href="<{xoImgUrl /icon.png}>" />
<link rel="stylesheet" type="text/css" media="all" title="" href="<{xoImgUrl /style.css}>" />
<{$xoops_module_header}>
</head>

<body class="<{$xoops_dirname}> theme-default">
<{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}><{assign var=columns_layout value='threecolumns-layout'}>
<{elseif $xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}>
<{elseif $xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}>
<{/if}>
<div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>>
<div id="xo-user-actions">
<div id="xo-slogan"><{$xoops_slogan}></div>
<div id="xo-search">insert search form here</div>
</div>
<div id="xo-canvas-header">
<div id="xo-main-logo">
<a href="<{xoAppUrl /}>"><img src="<{xoImgUrl images/header-logo.gif}>" alt="<{$xoops_sitename}>" /></a>
</div>
<div id="xo-banner">
<{if $xoops_banner and $xoops_banner != '&nbsp;'}>
<div id="xo-banner-ad"><{$xoops_banner|smarty:nodefaults}></div>
<{/if}>
</div>
</div >
<div id="xo-canvas-globalnav">
<ul>
<li><a href="<{xoAppUrl /}>">Home</a></li>
<li><a href="<{xoAppUrl modules/news/}>">News</a></li>
<li><a href="<{xoAppUrl modules/filereleases/}>">Downloads</a></li>
<li><a href="<{xoAppUrl modules/newbb/}>">About us</a></li>
</ul>
</div>

<div id="xo-canvas-content">
<table id="xo-canvas-columns" cellspacing="0">
<tr>
<{if $xoBlocks.canvas_left}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_left
zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn' zoneTag='td'
}>
<{/if}>
<td id="xo-page">
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks">
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:2:1}>
</div>
<{/if}>
<{if $xoops_contents}><div id="xo-content"><{$xoops_contents}></div><{/if}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}>
<div class="xo-blockszone xo-<{$theme_bottom_order}>pageblocks" id="xo-page-bottomblocks">
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:0:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:1:1}>
<{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:2:1}>
</div>
<{/if}>
</td>
<{if $xoBlocks.canvas_right}>
<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_right
zoneClass='xo-canvas-column' zoneId='xo-canvas-rightcolumn' zoneTag='td'
}>
<{/if}>
</tr>
</table>
</div>
<div id="xo-footer">
<{$xoops_footer}>
</div>
</div>
</body>
</html>


Although the block layout is managed by div's, it still has a table with 3 columns and I don't know if that is acceptable for ICMS standards?

I'm pretty busy right now but if it is still accepted I can do it using this layout. And I would need all the requirements... if finally it will be the green one, what width do you want it to be? (I had proposed 960px fixed width), and if the theme is going to used in other sites but with some change to it, it would be good to know what change it is going to have so I make sure the slices and areas are easily replacable by some other image or css class.

_________________
www.xoopsdesign.com (impresscms & xoops themes)
"what is essential is invisible to the eye" Antoine de Saint-Exupéry

Subject Poster Date
     ImpressCMS Theme marcan 2007/12/5 5:28:55
       Re: ImpressCMS Theme davidl2 2007/12/5 16:33:44
       Re: ImpressCMS Theme studioc 2007/12/5 23:01:50
       Re: ImpressCMS Theme JMorris 2007/12/6 4:04:42
         Re: ImpressCMS Theme snow 2007/12/6 22:27:14
           Re: ImpressCMS Theme davidl2 2007/12/6 22:39:49
           Re: ImpressCMS Theme davidl2 2007/12/6 22:54:34
       Re: ImpressCMS Theme studioc 2007/12/6 22:50:41
       Re: ImpressCMS Theme JMorris 2007/12/7 5:06:31
         Re: ImpressCMS Theme davidl2 2007/12/7 5:13:20
           Re: ImpressCMS Theme GibaPhp 2007/12/13 2:11:42
             Re: ImpressCMS Theme davidl2 2007/12/13 3:56:36
       Re: ImpressCMS Theme nekro 2007/12/7 9:45:24
         Re: ImpressCMS Theme snow 2007/12/7 10:17:38
           Re: ImpressCMS Theme JMorris 2007/12/7 10:52:07
           Re: ImpressCMS Theme skenow 2007/12/7 11:31:58
             Re: ImpressCMS Theme snow 2007/12/7 15:02:10
               Re: ImpressCMS Theme JMorris 2007/12/7 15:17:20
                 Re: ImpressCMS Theme Tom 2007/12/7 16:02:45
                   Re: ImpressCMS Theme snow 2007/12/7 17:44:46
                     Re: ImpressCMS Theme JMorris 2007/12/7 17:52:03
                       Re: ImpressCMS Theme Predator 2007/12/8 8:37:50
                         Re: ImpressCMS Theme davidl2 2007/12/8 8:46:02
                           Re: ImpressCMS Theme Predator 2007/12/8 8:58:42
                             Re: ImpressCMS Theme JMorris 2007/12/8 13:06:42
                               Re: ImpressCMS Theme JMorris 2007/12/9 9:34:23
       Re: ImpressCMS Theme studioc 2007/12/9 23:12:12
       Re: ImpressCMS Theme studioc 2007/12/10 1:57:22
       Re: ImpressCMS Theme JMorris 2007/12/10 16:13:42
       Re: ImpressCMS Theme JMorris 2007/12/10 20:21:22
       Re: ImpressCMS Theme wtravel 2007/12/12 15:30:14
       Re: ImpressCMS Theme JMorris 2007/12/12 19:27:32
         Re: ImpressCMS Theme davidl2 2007/12/13 4:54:57
           Re: ImpressCMS Theme snow 2007/12/13 9:22:37
             Re: ImpressCMS Theme marcan 2007/12/13 10:03:27
               Re: ImpressCMS Theme davidl2 2007/12/13 10:05:03
               Re: ImpressCMS Theme incama 2007/12/13 10:18:29
       Re: ImpressCMS Theme marcan 2007/12/12 22:37:04
         Re: ImpressCMS Theme aph3x 2007/12/13 0:30:33
           Re: ImpressCMS Theme incama 2007/12/13 1:29:52
       Re: ImpressCMS Theme JMorris 2007/12/13 10:44:25
       Re: ImpressCMS Theme marcan 2007/12/13 11:16:39
       Re: ImpressCMS Theme studioc 2007/12/13 11:29:43
       Re: ImpressCMS Theme marcan 2007/12/15 7:34:28
         Re: ImpressCMS Theme snow 2007/12/15 9:58:34
           Re: ImpressCMS Theme nekro 2007/12/15 11:27:27
             Re: ImpressCMS Theme sato-san 2007/12/15 11:36:56
               Re: ImpressCMS Theme davidl2 2007/12/15 11:55:40
             Re: ImpressCMS Theme marcan 2007/12/17 19:52:43
       Re: ImpressCMS Theme davidl2 2007/12/18 14:07:39
         Re: ImpressCMS Theme davidl2 2007/12/18 18:11:07
         Re: ImpressCMS Theme snow 2007/12/18 18:11:17
           Re: ImpressCMS Theme davidl2 2007/12/18 18:12:31
       Re: ImpressCMS Theme nekro 2007/12/18 18:39:09
         Re: ImpressCMS Theme davidl2 2007/12/18 18:45:49
           Re: ImpressCMS Theme marcan 2007/12/19 5:15:38
             Re: ImpressCMS Theme davidl2 2007/12/19 5:33:40
               Re: ImpressCMS Theme snow 2007/12/19 21:20:27
                 Re: ImpressCMS Theme davidl2 2007/12/19 21:31:54
                   Re: ImpressCMS Theme snow 2007/12/20 6:51:10
                     Re: ImpressCMS Theme davidl2 2007/12/20 6:53:02
                       Re: ImpressCMS Theme snow 2007/12/21 0:11:45
                         Re: ImpressCMS Theme davidl2 2007/12/21 1:25:36
                           Re: ImpressCMS Theme davidl2 2007/12/21 2:46:28
                             Re: ImpressCMS Theme snow 2007/12/21 4:45:07
                               Re: ImpressCMS Theme davidl2 2007/12/21 4:58:30
                                 Re: ImpressCMS Theme marcan 2007/12/21 8:44:41
                                   Re: ImpressCMS Theme marcan 2007/12/21 8:53:37
       Re: ImpressCMS Theme debianus 2007/12/21 11:28:14
       Re: ImpressCMS Theme kurak_bu 2007/12/21 11:54:54
       Re: ImpressCMS Theme nekro 2007/12/22 8:10:49
         Re: ImpressCMS Theme skenow 2007/12/22 8:47:23
         Re: ImpressCMS Theme snow 2007/12/22 9:12:30
           Re: ImpressCMS Theme snow 2007/12/22 9:58:42
             Re: ImpressCMS Theme skenow 2007/12/22 11:32:46
       Re: ImpressCMS Theme kurak_bu 2007/12/23 0:58:09
         Re: ImpressCMS Theme davidl2 2007/12/23 3:49:56
           Re: ImpressCMS Theme snow 2007/12/23 8:46:57
             Re: ImpressCMS Theme davidl2 2007/12/23 9:15:19
               Re: ImpressCMS Theme davidl2 2007/12/23 9:27:48
                 Re: ImpressCMS Theme davidl2 2007/12/23 10:00:35
       Re: ImpressCMS Theme kurak_bu 2007/12/23 9:11:23
       Re: ImpressCMS Theme Vaughan 2007/12/23 12:05:19
         Re: ImpressCMS Theme davidl2 2007/12/23 14:15:10
           Re: ImpressCMS Theme thomas 2008/1/2 21:23:55
             Re: ImpressCMS Theme thomas 2008/1/2 23:19:28
Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.