Recently I upgraded an ExpressionEngine website from EE2 to EE4 which was using Allow-Eecode plugin to parse snippet (Template Partial in EE4) into text content. Problem is that template partial is containing {exp:query} which is being outputted like plan text.

For example- my code is like:

{exp:allow_eecode query="y"}

Its outputting:

{exp:query sql="SELECT table_column_1 FROM table_name WHERE table_column_2 = 'some-value'"}{table_column_1}{/exp:query}
  • Did you upgrade Allow-Eecode to an EE4 compatible version? I have a site running under EE4 that also uses Allow-Eecode, and that is showing version 2.0.2. – jcogs.eecms Oct 8 '18 at 13:10
  • @jcogs.eecms Yes, I am using latest v2.0.2. – Bhashkar Yadav Oct 9 '18 at 7:17
  • No idea then... based on documentation it should work, but suspect this is one you'll have to go direct to Ellis for help with. Sorry! – jcogs.eecms Oct 9 '18 at 10:04

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.