I am running into a problem with the fieldpack checkbox on a site I am developing.

I am using the following code inside an {exp:channel:entries} loop, but the first two entries is echoing out the if conditional as seen below.

Channel entries loop: {exp:channel:entries channel="stories" orderby="entry_date" sort="desc" limit="20"}

if conditional:

{if "{story_type:selected option='Video'}"}
    <span class="prl-overlay-area o-video"></span>
{if '{story_type:selected option="Audio"}'}
    <span class="prl-overlay-area o-video"></span>

What the page shows:

enter image description here

as seen here: http://new.danaloeschradio.com/ (below the gunbox ad).

Can anyone help?

1 Answer 1


Looks like I figured it out. For reference in the future.

Here was the culprit:

{exp:ce_str:ing remove_html substr="0|150" xss_clean}

specifically, "substr". This method of ce_string and P&T Fieldpack did not play nice together on the same page. I fixed it by using the following alternative method.

{exp:ce_str:ing remove_html truncate="150|..." xss_clean}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.