Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.5.5 2.6 3.0 2013 Abuse alimento AntiHarvesting AntiMalUser AntiSpam API ASP Beats billige black Blocks blue Bytes Captcha cell Christmas chronolabs Client content Conversion demo docek download Dresses editor Elastic ELB evden eve Evening facebook floor free herre Honeypot Human IP jQuery kantor Karaoke lamps log logger mobile module modules Monster MyAlbum-p nakliyat newbb news online oxygen PageRank Payment Permissions pink Plugin portal Prevention profile project Protector publisher Rights rmcommon Room sale security Server site Smarty Spam SQL stem StopForumSpam Studio support tag tags tdmcreate Theme themes Twitter txmod Umfrage User userlog website Whitepaper xoops XOOPS2 Xortify ZendFramework

New Users

Registering user

# 136033

Arizamartin

Welcome to XOOPS!

Archives

News Archives

Tools module update to 2.0beta2 add Blocks anywhere

Posted by ezskycn on 2009/4/8 9:00:00 (3225 reads) | Posted on Modules
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


Printer Friendly Page Send this Story to a Friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.