Last active
July 21, 2017 15:17
-
-
Save OlegShchavelev/3f5dc4b123adb698e823191d899eeac0 to your computer and use it in GitHub Desktop.
Множественная проверка значений
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Если одно поле заполнено | |
{if $_modx->resource.pagetitle_section1 != '' || $_modx->resource.introtext_section1 != '' || $_modx->resource.image_section1} | |
{/if} | |
//Если все поля заполнены | |
{if $_modx->resource.pagetitle_section1 != '' && $_modx->resource.introtext_section1 != '' && $_modx->resource.image_section1} | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment