Forum categories

Настройка дополнительных полей (экстраполя) сразу после установки (проблема: автоподстановка логина)

Небольшая инструкция по добавлению и заполнению, для использования в шаблонах


webitproff
webitproff • 2025-06-28 11:20 #1

Модуль пользователей “Users”

Идем в админке:
Управление сайтом - Экстраполя - cot_users - Модуль Users

добавляем три поля, акцент на третье.

 

Название поля: middlename
Описание поля (_TITLE): Отчество
HTML-код поля:
(нужно прописать самому)

<input type="text" class="form-control" name="{$name}" value="{$value}"  maxlength="255" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" />

это нужно для того, чтобы исключить случайное заполнение поля, например при правки своих настроек профиля пользователем.

Бывает, например chrome автоподстановка логина в строку экстраполя, если оно не предварительно не было заполнено и сохранено

 

 


 

This post was edited by webitproff (2025-08-27 05:29, 10 months ago)
🗿

🧙‍♂️ Well met, good traveler! Fate has guided your steps to our humble realm. Here, wise sages and masters of the coding craft ⚒️📜 gather to unravel the mysteries of the code ✨⚙️, share their knowledge, and add new chapters to our chronicles.
⬅️ To the left lie ancient scrolls 📚 filled with forgotten wisdom. ⬆️ Straight ahead, friendly folk offer counsel 💬 to those in need. ➡️ To the right, you may become a chronicler ✍️ yourself, sharing your craft and leaving words of wisdom for those yet to come.
📝 Delay no longer—tell us the name by which you are known, complete the rite of registration 🛡️, and join our fellowship!
🏰 Our brotherhood holds no secret initiation, yet many halls remain closed to wandering guests, for some knowledge 💎 is reserved for those who choose to walk this path beside us.