8
Quote:
There were request to incorporate BlocksAnywhere into Core. Let's hope that the Core Team will be able to accomplish it.
Mamba Im aware of those smarty variables but i thought tatane mentioned 2 different smarties.
BlocksAnywhere can render blocks content in every theme/template.
But sometimes our designers need to just have the block/module Id
eg:
somebody in local persian support website needed to customize the "publisher recent news block" templates for customizing 4 blocks.
You know we can clone blocks as many as we wish but all blocks will use
the same template.
So one solution would be using the block id for recognizing between them.
a very simple and easy understandable example:
<{if $block_id == 40}> style="display: none;"
<{else}> style="display:block;"
<{/if}>
Kris:
I can see $block_id variable in that 2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/function.block.php
Is this what i mentioned above?