Skip to content

Add the ability to add snippets as in the module pages #65

@oim37

Description

@oim37

Sometimes i want to add a gallery or some code to blog article, this is easily done in the pages module using snippets, I really want to be able to add snippets in this module too.

For example, i want to add a gallery to a blog article, i can, but need to go into the template and use a selection from the link, which is not very convenient.

if(strpos($_SERVER['REQUEST_URI'], '/news/my-article') !== false){
$this['newsurl']=true;
}

{% if newsurl == true %}
    {% partial 'second/my-article' %}
{% endif %}

While in the pages module this is done in the admin panel, by moving the mouse.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions