Line 1-2:
<div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div>
This HTML file dictates the general layout of the Left Blocks which gives them a consistent look. This is called by the theme.html file through a Smarty <{include}> tag. The block title and the block content are separate divs.
Remember that the specific layout of the block contents, e.g. images used in a block, layout of links in User Menu, custom blocks, are handled by block templates and can be managed in the Templates Administration of the Admin Control Panel.
The Smarty tags used are:
<{$block.title}> - This Smarty tag retrieves the Block Title, e.g. User Menu, Login, Main Menu, Who’s Online.
<{$block.content}> - This Smarty tag retrieves the Block Content, e.g. the links in User Menu, the text and users in Who’s Online block.
Theme-Building Tips | |
---|---|
|