[[+content_image]]
B
B
BIGO232022-01-18 23:35:15
MODX
BIGO23, 2022-01-18 23:35:15

The construction of if else phenom?

Hello. tell me how can I translate this to FENOM


                 

             
       
 


Tried like this

{if $_modx->resource.to_storage_page_all == 2}
    Под заказ
{else}
                    	...
{/if}

 {if $_modx->resource.to_storage_page_all == 1}
    В наличии
{else}
                    	...
{/if}


Doesn't work
I can't figure out how.

This is extra. field Switches (radio) I need it to work at a certain value

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
B
BIGO23, 2022-01-19
@BIGO23

found why it didn't work didn't specify TV in &includeTVs thanks

A
Alexander Vasiliev, 2022-01-18
@amvasiljev

Did it work in normal syntax?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question