2

When I link a file in a WYGWAM field, the link seems to be created correclty. If I look at the source of the HTML, the link is displayed as,

<a href="/uploads/documents/campus_map.pdf">File</a>

If I look at the DB for that field, it is saved as,

<a href="{assets_25:{filedir_2}campus_map.pdf}">File</a>

However when the template is parsed, the final output is,

<a href="/uploads/documents/campus_map.pdfcampus_map.pdf}">File</a>

If I manually remove the "{filedir_2}" from the DB record, everything works fine and the output is,

<a href="/uploads/documents/campus_map.pdf">File</a>

I'm using all the latest versions,

  1. EE 2.6.1
  2. Assets 2.1.4
  3. Wygwam 2.7.1
  4. Structure 3.3.10

Thanks for any help you guys can offer!

0

We've got a fix for this locally that will be in the next release of Wygwam. In the meantime, hit up support@pixelandtonic.com and we can send you the patched files.

1
  • Great, my client will be very happy to hear that, thanks!
    – TimOz44
    Jul 17 '13 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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