Hi all,
I just upgraded to EE 2.2.1 from 2.1.3 and got caught by the issues with JavaScript getting parsed when used as a path or embed from templates. I since set debugging to “1”, and moved my JS out of EE templates, but that’s a serious hassle. I tried using the patch, but it didn’t make a difference. I tend to use EE conditionals in my CSS and JS and to have to take them out of the template system definitely hampers how I work. Is using the templates for JS just not functioning at present?
Second, I have a Safecracker form which since having upgraded, no longer displays my Captcha code. Here’s how it’s written in the template:
{if captcha}
<label for="captcha">Please enter the word you see in the image below:</label>
{captcha}
<input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
{/if}Pretty boilerplate. Worked before the upgrade, but not after. I have a contact form which uses form logic brought over from the original site (which I’m replacing after I finish what I’m stuck on), and not safecracker or saef to process the form. But I slipped the {captcha} code over to that form and it works fine, and I’m seeing new Captcha images being written to /images/captchas/ on page refreshes. ...so I think my Captcha configuration is okay.
Looking at my Health Check plugin I noticed that while my safecracker module has been upgraded to 2.1, my Safecracker file and Safecracker catchall fields are still displaying as version 1.0.1. I am using the safecracker_file fieldtype in this form and wonder whether a version mismatch between addons might be contributing to the problem. Did either safecracker_file and safecracker_catchall get upgraded or deprecated?
Thanks in advance,
Sam