ImpressCMS proudly uses SourceForge
ImpressCMS on Ohloh.net
[This page]  
Tags: Incomplete   Theme Structure  

Theme Structure

Body

" class="<{$xoops_langcode}>"> <{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}>

<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>>

Header

This is the topmost portion of your page - your logo, banner and banner ads show here.
<{$xoops_banner}>

Header Menu

Just below your main header, there is a place for additional links you may want on your pages. Customize this area to place the links here that you want.


Page Content

Here you have the middle portion of your page - the left column, the center column and the right column are the 3 main areas.
 

Left Column

You can determine which blocks appear in each column in the administration area.
	<{if $xoBlocks.canvas_left}>
	<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_left
		zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn'
	}>
	<{/if}>

Center Column

The center column has 3 zones - the top zone, the content zone and the bottom zone. The top and bottom zones will hold the blocks assigned to them and the content zone will display the content generated by the modules.
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<{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}>
<{/if}>

Module Content

	<{if $xoops_contents}>
		
<{$xoops_contents}>
<{/if}>

Bottom Blocks

	<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}>
	
<{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}>
<{/if}>

Right Column

The right column is another area for blocks to display.

	<{if $xoBlocks.canvas_right}>
	<{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_right
		zoneClass='xo-canvas-column' zoneId='xo-canvas-rightcolumn'
	}>
	<{/if}>

Footer

This is the bottom of the page - if you put <{$xoops_footer}> in this area, the footer you configured in the administration area will display here, or you can code your footer directly.



Last modified on 2010/11/14 by UnderDog
This page was created on 2010/11/11 by skenow
This page has been viewed 5989 time(s)

Comments
The comments are owned by the poster. We aren't responsible for their content.
ImpressCMS proudly uses SourceForge
ImpressCMS on Ohloh.net