We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24629
    • 370 Posts
    Hi,
    I have a template for my Article detail. I dont want to show the div for the TAGS when there are no tags
    So i made this chunk:
    [[+tags:notempty=`
    <div class="side-panel hide-on-print"><h2>Trefwoorden</h2>
        <div class="sideblock">
            [[+tags]]
        </div>
    </div>`]]


    But even though my test Article has NO tags the whole div displays in my HTML but the [[+tags]] are empty??? how come?

    so i did a little test and and put in [[+tags:strlen]] which tells me that tags is 270 chars long ? But it is Empty.... how can this be?

    Tnx,
    RDG
      • 4172
      • 5,888 Posts
      maybe you get an unprocessed snippet-call with that placeholder at output-filter parsingtime
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!