MODx/Встроенные сниппеты/Jot: различия между версиями

Содержимое удалено Содержимое добавлено
м Откат правок 87.244.23.94 (обс.) к версии 176.14.10.156
убрал лишние пробелы
 
Строка 2:
 
'''Jot''' — это сниппет для MODx, который даёт возможность пользователям Вашего Сайта оставить отзыв о странице. Добавлять коментарии к статьям, создавать гостевые книги. Также вы можете использовать несколько экземпляров сниппета на одной странице.
 
 
== Инструкции ==
 
 
=== Установка ===
Строка 18 ⟶ 16 :
 
5) Сохраните
 
 
=== Обновление ===
Строка 31 ⟶ 28 :
 
5) Сохраните
 
 
==Использование==
Строка 41 ⟶ 37 :
</li></ul>
<p>В зависимости от того, кешируется или нет.</p>
 
 
===Параметры===
Строка 480 ⟶ 475 :
<p>If you are using templates, create a chunk in modx, you can get the default templates from the jot/template directory
</p>
 
 
<h2>Примеры использования</h2>
Строка 501 ⟶ 495 :
</li></ul>
<pre>[[Jot? &amp;subscribe=`1` &amp;pagination=`10` &amp;sortby=`createdon:a`]]</pre>
 
 
<h3>Модерация</h3>
Строка 517 ⟶ 510 :
</li></ul>
<pre>[[Jot? &amp;subscribe=`1` &amp;pagination=`10` &amp;moderated=`1`]]</pre>
 
 
<h3>Модерация: более надёжный</h3>
Строка 528 ⟶ 520 :
</li></ul>
<pre>[[Jot? &amp;subscribe=`1` &amp;pagination=`10` &amp;moderated=`1` &amp;trusted=`Доверенные Пользователи`]]</pre>
 
 
<h3>Анти-спам: автоматический</h3>
Строка 539 ⟶ 530 :
</li></ul>
<pre>[[Jot? &amp;pagination=`10` &amp;captcha=`1` &amp;badwords=`{{словаСмертиКомментариев}}` &amp;bw=`2`]]</pre>
 
 
<h3>Анти-спам: с модерацией</h3>
Строка 551 ⟶ 541 :
</li></ul>
<pre>[[Jot? &amp;pagination=`10` &amp;captcha=`1` &amp;canmoderate=`Jot Moderators` &amp;badwords=`{{словаСмертиКомментариев}}` &amp;bw=`1`]]</pre>
 
 
<h2>Некоторые уловки</h2>
 
 
<h3>Хорошая практика включения поддержки комментариев</h3>
Строка 560 ⟶ 548 :
Include each chunk in a <b>template</b> and link it to your articles. Try to avoid direct jot calls in the content field of a document (even if it's a chunk).
</p>
 
 
<h3>Расширенная MODx шаблонизация</h3>
Строка 566 ⟶ 553 :
</p><p>Note: Jot does not require that the <a href="/index.php/PHx" title="PHx">PHx</a> plugin is installed. If not installed PHx functionality will still be available, but for the Jot templates only.
</p>
 
 
<h3>Активная идентификация</h3>
Строка 572 ⟶ 558 :
<p>When logged in as both web- and manager user your webuser identity will over-rule your manager identity but your permissions will be the same. When logged in as a manager user you will always have moderator options.
</p>
 
 
<h3>Обязательные поля для заполнения</h3>
Строка 579 ⟶ 564 :
 
</p>
 
 
<h3>Цензура в комментариях</h3>
<p>Bad words are checked on all input, including custom fields.
</p>
 
 
<h3>Генерация URL/Узлов</h3>
<p>All generated links by Jot will preserve the current querystring and only the variables specific for the Jot instance are altered if necessary. This ensures that the current page state (that could be altered by other snippets on the same page) is preserved.
</p>
 
 
<h3>Реализованные идеи</h3>