23.09.2016, 20:21
23.09.2016, 20:28
Szablon forumbit_depth2_forum poproszę.
23.09.2016, 20:48
(23.09.2016, 20:28)Conors napisał(a): [ -> ]forumbit_depth2_forumNie mam czegoś takiego w "widok działu - szablony"
Gdzie to mam dokładnie znalezc?
23.09.2016, 20:49
Opis działu - szablony
23.09.2016, 20:51
Kod PHP:
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments"></i></span></td>
<td class="{$bgcolor}">
<a id="forum_{$lightbulb['folder']}" href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div class="smalltext">{$subforums}{$forum['description']}{$modlist}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor} aposts" align="center" style="width: 120px;">{$posts}{$unapproved['unapproved_posts']}<br><span class="grayp">Postów</span></td>
<td class="{$bgcolor}" align="left" style="width: 240px;">{$lastpost}</td>
</tr>
23.09.2016, 20:52
Spróbuj tak:
Kod:
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments"></i></span></td>
<td class="{$bgcolor}">
<a id="forum_{$lightbulb['folder']}" href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div class="smalltext">{$subforums}<br />{$forum['description']}{$modlist}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor} aposts" align="center" style="width: 120px;">{$posts}{$unapproved['unapproved_posts']}<br><span class="grayp">Postów</span></td>
<td class="{$bgcolor}" align="left" style="width: 240px;">{$lastpost}</td>
</tr>23.09.2016, 20:52
Lub tak:
Kod:
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments"></i></span></td>
<td class="{$bgcolor}">
<a id="forum_{$lightbulb['folder']}" href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor} aposts" align="center" style="width: 120px;">{$posts}{$unapproved['unapproved_posts']}<br><span class="grayp">Postów</span></td>
<td class="{$bgcolor}" align="left" style="width: 240px;">{$lastpost}</td>
</tr>23.09.2016, 20:53
Wystarczy zamienić je według upodobania, czyli inwersja.
23.09.2016, 20:54
Działa dzięki.
23.09.2016, 20:55
(23.09.2016, 20:54)Winchester napisał(a): [ -> ]Bo wyświetlały się pod subforami, patrz uważnie.(23.09.2016, 20:53)Fyeem napisał(a): [ -> ]{$forum['description']} - zmienna odpowiadająca za opis działu.
{$subforums} - zmienna odpowiadająca za te działy 'mniejsze' (subfora)
Wystarczy zamienić je według upodobania, czyli inwersja.
Wyświetlają mu się źle opisy działu, a ty mówisz mu o zamianie kolejności..
![[Obrazek: 53960808625953178666.png]](http://iv.pl/images/53960808625953178666.png)