A
A
alex4answ2018-12-27 12:00:38
MODX
alex4answ, 2018-12-27 12:00:38

Does the site break when you connect a chunk?

Good afternoon, a problem was discovered, I don’t understand anything at all) I
insert a condition into the page template:

Chunk worksteps:

<div class="advatages">
  <div class="container page-inner">
    <div class="row">
      <div class="section-title">
        <h3>Этапы работы</h3>
      </div>
      <div class="step_work">
        
      </div>
    </div>
  </div>
</div>

And half of the page breaks, scripts are not connected, part of the content that comes after this code is also not loaded.
BUT if you put it in just code instead of checking and calling a chunk, then everything works well.
I don't know much about MODX, what could be the reason, please tell me

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2018-12-27
@ruslan_aleev

In the getImageList call, put the code in the &tpl line in another chunk, it might help.

A
Anton Tarasov, 2018-12-27
@an-tar

step_workdoes such a TV exist?
Have you looked at the MODX log?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question