The Basic Meeting List Toolbox

The [[BMLT_SIMPLE]] Shortcode Example 3

First, you need to know that this is only possible with Root Server version 2.1.3 or greater. It relies on a capability that was added in that release.

What we will do here, is take the table-based search we did in Example 1, and add a format legend to it.

The new capability makes it so that we can get just the formats used for the table, not the whole damn shooting match.

That’s cool with a kapital “K.”

This is the syntax for the new call:

[<i></i>[bmlt_simple(1339674838##-##switcher=GetFormats<strong style="color: #c03;">&amp;services=1045</strong>)]]

You can now append the criteria that you used for the search to the

switcher=GetFormats

call (It used to be the only valid parameter was

block_mode=1

). Now, if you add the extra search parameters to the URI, you will get just the formats used in the meetings returned by that search.

The entire code for this page is:

<table id="lhv_demo_layout_table_4">
    <tr>
        <td class="legend_td">[[bmlt_simple(1339674838##-##switcher=GetFormats&services=1045)]]</td>
        <td class="results_td">[[bmlt_simple(1339674838##-##switcher=GetSearchResults&services=1045)]]</td>
    </tr>
</table>

Let’s see what we get for that:

[[bmlt_simple(1339674838##-##switcher=GetFormats&services=1045)]] [[bmlt_simple(1339674838##-##switcher=GetSearchResults&services=1045)]]

This is nice, but that format legend is a bit too obtrusive. Why don’t we hide the full descriptions, and just leave the short names up there? I’ll also normalize the font, and make it smaller.

[[bmlt_simple(1339674838##-##switcher=GetFormats&services=1045)]] [[bmlt_simple(1339674838##-##switcher=GetSearchResults&services=1045)]]

Cool! Let’s compare it to what we would see if we didn’t specify any search parameters:

[[bmlt_simple(1339674838##-##switcher=GetFormats)]] [[bmlt_simple(1339674838##-##switcher=GetSearchResults&services=1045)]]