Modules

Tools module update to 2.0beta2 add Blocks anywhere

ezskycn  07-Apr-2009 03:15 5035 Reads   No comments 
Another smarty plungin for block callback in anywhere.
there are two methods
The first is simple call like following:
<{xoBlk module="system" file="system_blocks.php" show_func="b_system_search_show"  template="system_block_search.html"}>

The another is template formart like following:
<{xoBlkTpl module="system" file="system_blocks.php" show_func="b_system_search_show" }>
<
form style="margin-top: 0px;" action="<{$xoops_url}>/search.php" method="get">
  <
input type="text" name="query" size="14" /><input type="hidden" name="action" value="results" /><br /><input type="submit" value="<{$block.lang_search}>" />
</
form>
<
a href="<{$xoops_url}>/search.php" title="<{$block.lang_advsearch}>"><{$block.lang_advsearch}></a>
<{/
xoBlkTpl}>


have fun!
click here download


Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

268 user(s) are online (7 user(s) are browsing Publisher)


Members: 0


Guests: 268


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories