We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31246 ☆ A M B ☆
    • 428 Posts
    Многие жаловались на то, что при изменении шаблона в админке, новый шаблон не применяеться. Решение было как я помня, редактировать через быстрое редактирование.
    1 час назад Mark Hamstra опубликовал решение и нужно его проверить.
    открываем файл core/model/modx/processors/resource/reload.class.php
    ищем строчку примерно 52 строка
    $this->reg->send($topic, array($scriptProperties['create-resource-token']=> serialize($scriptProperties)), array('ttl' => 300));

    и заменяем на
    $this->reg->send($topic, array($scriptProperties['create-resource-token']=> serialize($scriptProperties)), array('ttl' => 300,'delay' => -time()));

    Оригенал бага http://tracker.modx.com/issues/6931#note-17 [ed. note: valikras last edited this post 14 years, 7 months ago.]
      Valentin Rasulov - Industrial design (Hobbies - Web Development)
      Development not standard projects on CMF MODx Revolution.
      Small sample of extensions