This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

gagra333324458
gagra333324458

Hello! How to display partial only on a page and its subpages? How to build a condition correctly?

Flynsarmy
Flynsarmy

For a condition, you can use this

{% if partial('somepartial') %}
    Some partial exists!
{% endif %}

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.