I want to add a block for "x" theme! but at "y" theme didn't work aproximately, and I must make new! Block is written at html code!
How I add diferent block, for diferent theme?
eg: at "x" theme, load "x" block
at "y" theme, load "y" block!
thenx
-JimKarvo
It is possible, but it is not easy to explain.
eg) left block
edit themes/x/theme.html
<{foreach item=block from=$xoops_lblocks}>
<{if $block.title!="(block name for y)"}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<{/if}>
<{/foreach}>
edit themes/y/theme.html
<{foreach item=block from=$xoops_lblocks}>
<{if $block.title!="(block name for x)"}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<{/if}>
<{/foreach}>
If you can't understand with the code, learn smarty itself.