форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.7.x > vBulletin [3.7] Troubleshooting and Problems
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
Flashick
Продвинутый
Question Как добавить свой пункт в usercp через импорт продукта??
0

Хук в шаблоне меню только один:
$template_hook[usercp_navbar_bottom]
Он в самом низу.
Хотелось бы запихнуть свой пункт меню под "Редактирование данных":

<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>

////вот здесь////

<if condition="$show['customizelink']">
<tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
</if>

Редактирование шаблона вручную - самый распоследний вариант.
Через модули это можно как-нибудь сделать?
Спасибо
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 

Tags
usercp меню


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...