3

Similar to this post I'm getting incorrect file paths being displayed on the front end when using Assets from within Wygwam. Unlike that post I'm actually getting this rendered on the front end:

{assets_104:{filedir_1}News/3F1A0399_1.jpg}

I've tried the fix referred to in the comments to no avail.

It doesn't matter how many times I save the entry, so I don't think it's the same issue described here

Another difference I believe is probably key here is that the Wygwam filed is a Low Variables field type.

I'm running EE v2.5.5, Low Variables v2.3.5, Assets v2.1.4 & Wygwam 3.1.2.

Thanks.

2
  • Are you using the tag syntax, not the var syntax? So {exp:low_variables:single var="my_wygwam_var"} instead of {my_wygwam_var}?
    – Low
    Commented Aug 21, 2013 at 14:23
  • Oh wow, so simple! Thanks @Low. Do you want to change your comment to an answer?
    – Andy Homan
    Commented Aug 23, 2013 at 2:26

1 Answer 1

4

To make sure extra processing is done before the var is put in the template, use the tag syntax rather than the variable syntax:

{exp:low_variables:single var="my_wygwam_var"}

Your Answer

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

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