Skip to content

Problem in EE4 while parsing template partial #4

@bhashkar007

Description

@bhashkar007

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"}
{body}
{/exp:allow_eecode}

Its outputting:

....
....
{exp:query sql="SELECT table_column_1 FROM table_name WHERE table_column_2 = 'some-value'"}{table_column_1}{/exp:query}
....
....

Please let me know if I am missing anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions