# Other

There were other solutions similar to this one:

**1) Blocks Anywhere developed by** [**Trabis**](https://www.xuups.com/modules/publisher/item.php?itemid=10)

On his Website he describes the module this way:

Here is an easy way to place a block in a theme or template.

Just upload this smarty plugin to class/smarty/xoops\_plugins folder and you will be able to add a block using the following method

```php
<{block id=1}>
```

Replace '1' by the id of the block you want to display.

You can find id of block in blocks admin, just hover the mouse over block edit link and you will see something like this:

```php
yoursite/modules/system/admin.php?fct=blocksadmin&op=edit&bid=3
```

This plugin respect XOOPS permissions. It will only display the block for users that are allowed to see it(as set in groups permissions).

This plugin also takes in consideration cached blocks.

Version 1.1 brings you some new cool options such as:

* display = 'title' -> shows just title
* display = 'none' -> renders the block but does not display it
* options = 'enter|block|options' -> overwrites block default options
* groups = 'enter|allowed|groups' -> overwrites block default group view permissions
* cache = 3600 -> overwrite cache time(in seconds)

Code examples:

```markup
<{block id=1 display="title"}>   displays just the block title
<{block id=1}>                   displays just the block content
<{block id=7 display="none"}>    does not display nothing but executes the block, this can go for online block or to trigger some cron block
<{block id=600 groups="0|1" cache=20}>  display block just for this 2 groups and sets a cache of 20 seconds
<{block id=600 options="100|100|s_poweredby.gif|0"}> displays block with diferent options
```

Usage example:

1. Place your 'multimenu' block in your theme.
2. Invisible online block that updates online users table.
3. Add an image gallery block inside article category page.
4. Add users online block into yogurt profile page
5. Etc...&#x20;

**2) A solution developed by Catzwolf**

You can read about it on [**XOOPS Website**](http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=63775\&forum=14\&post_id=287411#forumpost287411)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xoops.gitbook.io/blocktools-tutorial/other.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
