Skip to content

render_hinclude problems when activating PHP templating engine #9790

Closed
@liviubalan

Description

@liviubalan

When the PHP templating engine is activated (value framework.templating.engines: ['twig', 'php'] in config.yml) when using the code sample

{{ render_hinclude(controller('...'), {'default': 'Loading...'}) }}

the following errror occures:

An exception has been thrown during the rendering of a template ("Template name "Loading..." contains invalid characters.").

Maybe a good idea is to show an info/warning when dealing with PHP templating.

See: How to Embed Asynchronous Content with hinclude.js

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