Answer the question
In order to leave comments, you need to log in
Why does not a normal page open, but an empty one?
https://laspi.ru/kontaktyi.html
The page opens empty, all the rest seem to be normal, what could be the problem?
Before that, there was a problem with inserting the metric code, then all pages became empty, but I fixed it.
{include 'head'}
<section class="Contacts_Map">
{$_modx->getPlaceholder('+map_contacts')}
</section>
<div class="Contacts_Info">
{include 'fix_menu'}
{include 'main_menu'}
<div class="container">
<div class="title zg">{$_modx->resource.pagetitle}</div>
<div class="address">{$_modx->getPlaceholder('+address_contact_page')}</div>
<div class="block">
<strong>laspi.Общий_IP</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_ip')}">{$_modx->getPlaceholder('+phone_ip')}</a>
</div>
<div class="block">
<strong>laspi.Отдел_бронирования</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_bronirovanie')}">{$_modx->getPlaceholder('+phone_bronirovanie')}</a>
</div>
<div class="block">
<strong>laspi.Отдел_продаж_апартаментов</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_apartament')}">{$_modx->getPlaceholder('+phone_apartament')}</a>, <a href="mailto:{$_modx->getPlaceholder('+mail_apartament')}">{$_modx->getPlaceholder('+mail_apartament')}</a>
</div>
<div class="block">
<strong>laspi.Ресторан</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_restoran')}">{$_modx->getPlaceholder('+phone_restoran')}</a>
</div>
<div class="block">
<strong>laspi.Служба_приема_и_размещения</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_slijb')}">{$_modx->getPlaceholder('+phone_slijb')}</a><br><br>
laspi.Скайп: {$_modx->getPlaceholder('+skype_slijb')}<br>
laspi.Эл_почта: {$_modx->getPlaceholder('+email_slijb')}
</div>
<div class="block">
<strong>СПА-центр</strong>
<a href="tel:{$_modx->getPlaceholder('+phone_wellness')}">{$_modx->getPlaceholder('+phone_wellness')}</a>
</div>
</div>
<div class="button btn_effect booking_open"><span>laspi.Бронировать_номер</span></div>
</div>
{include 'footer'}
Answer the question
In order to leave comments, you need to log in
I dug into the code and found a comment from a previous developer. There was a problem with the loaded chunk. It just can't be added to this page.
white screen - syntax errors, see log.
$_modx->getPlaceholder('+phone_slijb') remove pluses everywhere
. If it doesn't help, make sure that the lexicon call is correct, I'm not sure that it will work with Cyrillic.
Ps Laspi greetings from a Crimean)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question