B
B
Boyarc12212020-10-06 12:19:11
1C-Bitrix
Boyarc1221, 2020-10-06 12:19:11

Where are the parameters of the components in Bitrix corrected?

Hello.
There is a piece of code:

<code lang="php">
<?if(strlen($arResult['FIELDS']['PREVIEW_TEXT'])):?>
                  <div class="previewtext" itemprop="description">
                    <?// element detail text?>
                    <?if($arResult['DETAIL_TEXT_TYPE'] == 'text'):?>
                      <p><?=$arResult['FIELDS']['PREVIEW_TEXT'];?></p>
                    <?else:?>
                      <?=$arResult['FIELDS']['PREVIEW_TEXT'];?>
                    <?endif;?>
                  </div>
                <?endif;?>
                <div class="more_block"><span><?=GetMessage('MORE_TEXT_BOTTOM');?></span></div>
                <?if($arResult['DISPLAY_PROPERTIES']['FORM_ORDER']['VALUE_XML_ID'] == 'YES' || $arResult['DISPLAY_PROPERTIES']['FORM_QUESTION']['VALUE_XML_ID'] == 'YES'):?>
                  <div class="order">
</code>

Tell me where you can edit these parameters - ['FORM_ORDER'] ('MORE_TEXT_BOTTOM') ['FORM_QUESTION']
Sorry for the stupid question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
scottparker, 2020-10-06
@Boyarc1221

FORM_ORDER, FORM_QUESTION - element property (ib)
MORE_TEXT_BOTTOM - in template lang file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question