1
Xoops system has 5 blocks area,
|====================|
|List of blocks |
|====================|
|Left block |
|Center Center block |
|Center Left block |
|Center Right block |
|Right block |
| |
|Content* |
|====================|
*not refer as block but a content area for page
It is possible to modified the system for addtional block (custom) into theme.html?
(not the custom block you will add in the control panel)
In theme.html file, you have something like:
<td id="leftcolumn">
<{foreach item=block from=$xoops_lblocks}>
<div style="padding: 5px;">
<fieldset>
<legend class="blockTitle"><{$block.title}>legend>
<div class="blockContent"><{$block.content}>div>
fieldset>
div>
<{/foreach}>
td>
As you can see this default unique block id will refer to the system block:
<td id="leftcolumn">
and
<{foreach item=block from=$xoops_lblocks}>
If I have to make a custom of this, I can simply change to this:
<td id="mycustomblock">
and
<{foreach item=block from=$xoops_myblocks}>
In this case I need to hack/modify the system function and add options to the admin control panel in order to use this.
If I'm right, anyone interest hacking and developing it?
If I'm wrong, anyone have another way of doing it?