Storing blocks in libraries
The <library> element is designated for storing multiple
<block> statements for reuse.
If you have a collection of blocks that are related, or you simply want to make all your blocks
available for your current query, the first step is to store the blocks in a <library>.
For example:
<library>
<block name="sample_block_1" var1="">
[CONTENTS_OF_BLOCK]
</block>
<block name="sample_block_2" var2="">
[CONTENTS_OF_ANOTHER_BLOCK]
</block>
</library>
The library above contains two blocks, sample_block_1 and
sample_block_2.
Once you have created a library, the next step is to save it as a Quick Query so it can be referenced later when you need it. To do this, click .
Once the library is saved, you will be able to use any block stored within it by using the
<import> and <insert> directives.
