-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
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.