From: SourceForge.net <no...@so...> - 2012-07-22 08:07:48
|
Feature Requests item #3547177, was opened at 2012-07-22 01:07 Message generated for change (Tracker Item Submitted) made by irmtfan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3547177&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: XOOPS 2.6 Status: Open Resolution: None Priority: 5 Private: No Submitted By: irmtfan (irmtfan) Assigned to: Nobody/Anonymous (nobody) Summary: smarty variables: block.mid and block.id Initial Comment: Sometimes we need to have the current block id and its module id. You know we can clone blocks as many as we wish but all blocks will use [b]the same[/b] template. To pass this obstacle we can use block Ids to recognize between different blocks in the same template. eg: <{if $block.id == 40}> style="display: none;" <{else}> style="display:block;" <{/if}> please read this topic and posts no.2 and no.8: https://jouyamanzali.info/b/http://xoops.org/modules/newbb/viewtopic.php?post_id=347814#forumpost347814 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3547177&group_id=41586 |