форум vBSupport.ru > vBulletin > Вопрос — Ответ
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
4ibon4ik
На доске почёта
 
banned nax
Default forumhome_forumbit_level1_nopost
0

Дико извиняюсь если уже было, но перерыл почти все здесь, не нашел
vBulletin 3.8.0 Release Candidate 2, стандартный шаблон
шаблон forumhome_forumbit_level1_nopost
PHP Code:
<if condition="!$show['collapsable_forums']">
<
tbody>
</if>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
            <if 
condition="$childforumbits">
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumidsrc="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
            </if>
            <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
            <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
            <if 
condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        </
td>
    </
tr>
<if 
condition="!$show['collapsable_forums']">
</
tbody>
</if>
<if 
condition="$childforumbits">
<if 
condition="!$show['collapsable_forums']">
<
tbody id="collapseobj_forumbit_$forumidstyle="{$collapseobj_forumid}">
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</
tbody>
</if>
</if> 

в шаблоне FORUMHOME существует след код
PHP Code:
<thead>
    <
tr align="center">
      <
td class="thead">&nbsp;</td>
      <
td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <
td class="thead">$vbphrase[last_post]</td>
      <
td class="thead">$vbphrase[threads]</td>
      <
td class="thead">$vbphrase[posts]</td>
      <if 
condition="$vboptions['showmoderatorcolumn']">
      <
td class="thead">$vbphrase[moderator]</td>
      </if>
    </
tr>
</
thead
который выводит шапку "Раздел Последнее сообщение Тем Сообщений Модератор" сверху сразу для всех категорий разделов


теперь собстна вопрос к старожилам, куда и как надо вставить код этой шапки в forumhome_forumbit_level1_nopost, чтоб она была под названием разделов и при этом сворачивалась вместе с подразделами
собственно скрины
до смещения шапки


после смещения

в свернутом виде
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 


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:50 AM.


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