• Resolved nonbin

    (@nonbin)


    The following show inconsistent behavior related to shortcodes in templates. I have JCI set to execute shortcodes then twig, and line 3 outputs the the result of the shortcode like I expect, but line 2 returns the length of the shortcode itself

    {% set tmp = '[jsoncontentimporterpro nameoftemplate="trendData"]' %}
    trendData Length: {{ tmp | length }}</br> {# Returns 51, which is the exact length of the shortcode itself. should be closer to 500 #}
    {{tmp}}</br> {# Correctly displays the output of the shortcode #}
    • This topic was modified 2 months, 1 week ago by nonbin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.