ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Is there the opposite of the Allow EE Code plugin?

May 24, 2011 9:41am

Subscribe [2]
  • #1 / May 24, 2011 9:41am

    dmyers

    43 posts

    Is there the opposite of the Allow EE Code plugin?

    EE is jacking up my javascript because javascript uses a lot of {name: "don"} (JSON Object)

    Is there the opposite of the Allow EE Plugin to tell the templating engine to leave this chunk of html/code alone?

  • #2 / May 24, 2011 3:30pm

    Brandon Jones

    5500 posts

    Hi dmyers,

    What’s your Debug Preference set to? Your JSON should be left alone as long as it’s at 1 (PHP/SQL error messages shown only to Super Admins).

  • #3 / May 24, 2011 4:40pm

    dmyers

    43 posts

    Hey Brandon, I switched it back to 1 (earlier today) and everything is ok. I understand that third party plugins shouldn’t throw PHP errors but 0 is completely worthless. I also learned the “add a return” trick to keep EE from “cleaning” them up.

    Why is 0 even a option? a warning should be shown “if you use javascript any where on your page don’t select 0”

  • #4 / May 25, 2011 4:34pm

    Brandon Jones

    5500 posts

    Yeah, frankly I’ve never used 0 either. I just leave it at the default (1). Glad that worked, dmyers!  😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases