# Blocks

wgSitenotice offers following blocks:

## 6.1 Block with a link list for all legal notices

Example:

![Block example](https://3504821653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk7s6h6l4bdv1Fd_%2F-LGftBcQ_BXmjqz4PKHY%2F-LGftCtSAJjIu8nqPvZL%2F6blocks.png?generation=1530818519607039\&alt=media)

## 6.2 Block Cookie-Regulation

The notice concerning cookie policy will be, depending on your settings, static on top or on bottom of your website as as single block displayed.

Example Notice on website static top:

![Example notice on website](https://3504821653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk7s6h6l4bdv1Fd_%2F-LGftBcQ_BXmjqz4PKHY%2F-LGftCtVwlr3nKRt1Go0%2F6blocks2.png?generation=1530818520496720\&alt=media)

In the block settings you can additionally manage e.g. background color, font color, and so on. It is also recommended to set a link for data protection and explanation for cookies.

Example block settings:

![Example block settings](https://3504821653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk7s6h6l4bdv1Fd_%2F-LGftBcQ_BXmjqz4PKHY%2F-LGftCtXL4hFwuWsfWA4%2F6blocks3.png?generation=1530818520185056\&alt=media)

If you want to show the notice on top/bottom, you should place a smarty variable with the corresponding value of the block settings somewhere in your theme. In this case it should look like this:

![Example display with smarty](https://3504821653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk7s6h6l4bdv1Fd_%2F-LGftBcQ_BXmjqz4PKHY%2F-LGftCtZ-xxQWTSNZscr%2F6blocks4.png?generation=1530818520145206\&alt=media)

![](https://github.com/XoopsDocs/wgsitenotice-tutorial/tree/ba94532501c831b976293bb94924b2c3fbc0ff50/en/assets/important.png) **Attention**: If you are testing various settings, it can be necessary, that you clean the browser cache between the settings in order to delete the cookie created by wgsitenotice.


---

# 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/wgsitenotice-tutorial/english/blocks.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.
