> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/blocktools-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/blocktools-tutorial/operating-instructions.md).

# Operating Instructions

There are two methods to add the blocks with coding:

The first is simple call like following with [**Smarty**](http://www.smarty.net/):

```markup
<{xoBlk module="system" file="system_blocks.php" show_func="b_system_search_show"  template="system_block_search.html"}>
```

The second way is to format the Smarty template as following:

```markup
<{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}>
```
