LISE Tag Field Definition

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
WDJames
Forum Members
Forum Members
Posts: 85
Joined: Tue Feb 13, 2018 1:09 pm

LISE Tag Field Definition

Post by WDJames »

Hello All,

Does anyone have any experience with using the LISE Tag field definition as a clickable list? I've found an older post which doesn't seem to work anymore. I've got the following to work but I find the URL a bit cumbersome and the results display all items that includes the tag phrase within the content text even if the item doesn't include any tag:

Code: Select all

  {if $item->Tags!=""}
  {assign var="tags" value=','|explode:$item->Tags}
   {foreach from=$tags item=tag}
    <a href="/index.php?mact=LISEBlog,cntnt01,default,0&amp;cntnt01tag={$tag}&amp;cntnt01returnid={$returnid}">{$tag}</a>
   {/foreach}
  {/if}
Am I missing something really simple?

Thanks in advance for your help.

James
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: LISE Tag Field Definition

Post by DIGI3 »

At the very least you might want to look at using the {cms_action_url} tag so the url is built dynamically rather than having to hand-code it. I think you should be able to pass on some LISE search parameters to make it return what you want.

You might also be able to do it differently, using LISE's built in search functionality and looking at the sample filter template.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “Modules/Add-Ons”