Answer the question
In order to leave comments, you need to log in
How to pass the value of the variable to the component that is higher?
Problem following: There is a component and in it property. This property must be passed from the component to the page, and on the page, this variable should be used in another component. The big problem is that the component that should receive the variable is higher than the component that should give it back. Global variables won't help here. Tried delayed functions. Either I used them incorrectly, or they really only draw the result.
Answer the question
In order to leave comments, you need to log in
Found the solution myself. The solution is the following:
<?$this->SetViewTarget('subitem');?>
<pre>
<?print_r($arResult);?>
</pre>
<?$this->EndViewTarget();?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question