In Design Manager I create a Search Form Template:
Code: Select all
{$startform}
<input class="button button-3d button-mini button-rounded" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" value="holder" type="submit" />
{if isset($hidden)}{$hidden}{/if}
{$endform}
Next, in the News Detail Template, I added this code:
Code: Select all
{$cloudwords = ","|explode:$entry->fieldsbyname.Comma_Separated_Tags->value}
{foreach from=$cloudwords item=words}
{Search|replace:"holder":$words search_method="post"}
{/foreach}
Then a bit of CSS to make the forms play nice with each other:
Code: Select all
.cms_form { display: inline-block; }