All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Wygwam does not initiate if variable name contains a colon

Keiron Lowe 26 Oct 2016 15:25 problem, pending

EE: 3.4.3

Not sure if this is a Wygwam or a Low Variables issue, but Wygwam fails to load if the variable name (not label) contains a colon, example 'social:twitter_url'. No javascript errors at all, the field just stays as a textarea.

Replies

  1. Low 26 Oct 2016 15:59

    Hi Keiron,

    It's a Wygwam issue. I've conferred with them and they're adding a fix in the next version. To fix yourself, open up ft.wygwam.php and change line 117 from this:

    $id = str_replace(array('[', ']'), array('_', ''), $this->field_name);


    to this

    $id = str_replace(array('[', ']', ':'), array('_', '', '_'), $this->field_name);