dle-modules / DLE-UniForm

Универсальные формы обратной связи для DataLife Engine
http://pafnuty.name/modules/159-uniform.html
MIT License
22 stars 12 forks source link

не могу запустить модуль #108

Closed OlegVahrushev closed 2 years ago

OlegVahrushev commented 2 years ago

Описание ошибки: не могу запустить модуль

При каких условиях воспроизводится ошибка: После установки

Страница, на которой наблюдается ошибка: golden-fleec-ru.1gb.ru

Вносились ли модификации в движок: Нет

Версия DLE: 14.1

Версия PHP: 7.1

Конфиг шаблона:

templateFolder = inline
// nocache = y
// debug = y
required = textarea, email
// hidden = newsid,user
sendmail = y
emails = mail@mail.ru, mail2@mail.ru

Код используемого шаблона:

<!DOCTYPE html>

{headers}
{include file="modules/header.tpl"} {**} {**}
{**} [not-aviable=main]
[not-aviable=static|feedback]
{content} {info}
[/not-aviable] [aviable=static|feedback] {content} [/aviable] [/not-aviable] {**} [aviable=main] {* *} {include file="modules/parts-main/slider.tpl"} {* *}
{custom category="{include file="modules/cat-id/shop-id.tpl"}" template="modules/functions/shop" navigation="no" from="0" limit="8" cache="no" order="data"}
{custom category="{include file="modules/cat-id/shop-id.tpl"}" template="modules/functions/shop" navigation="no" from="0" limit="8" cache="no" order="reads"}
{custom category="{include file="modules/cat-id/shop-id.tpl"}" template="modules/functions/shop" navigation="no" from="0" limit="8" cache="no" order="rand"}
{* *} {include file="modules/parts-main/features.tpl"} {* *} {include file="modules/parts-main/about.tpl"} {include file="modules/parts-main/about2.tpl"} {* *} {include file="modules/parts-main/features2.tpl"} {include file="modules/parts-main/about3.tpl"} {include file="modules/parts-main/features4.tpl"} {* *}

Наш блог

{custom category="{include file="modules/cat-id/blog-id.tpl"}" template="modules/functions/blog" navigation="no" from="0" limit="6" cache="no" order="data"}
[/aviable] {**}

ЗАКАЖИТЕ ОБРАТНЫЙ ЗВОНОК

Обратная связь
{**} {include file="modules/footer.tpl"} {jsfiles} {AJAX}
Код шаблона
pafnuty commented 2 years ago

@OlegVahrushev судя по всему вы вместо шаблона модуля используете шаблон сайта.

OlegVahrushev commented 2 years ago

Подключил скрипт в конце шаблона и всё заработало)