1

Is it possible to put a exp:channel entries tag loop into a wygwam field? Simply placing something, e.g.,

{embed="Common/sidebar_people" show_channel="48"}

... fails. The "Allow EE Code" plugin I thought was related but after installing it and looking through the php I'm unclear on its purpose.

1 Answer 1

2

You'll need to wrap your Wygwam field in the Allow EE Code plugin tags within your template:

{exp:allow_eecode embed="y"}
    {your_wygwam_field}
{/exp:allow_eecode}
1
  • A-ha, thanks. It seems that tinyMCE's tidy routine requires that I wrap the embed code in <div></div> unless there's another way to avoid such a block-level wrap?
    – Screenack
    Jun 4, 2013 at 16:09

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.