Problem z Ostatni post |
Autor |
Wiadomość |
Eto13362
Pomógł: 15 razy Posty: 97
|
Wysłany: 21-08-2015, 12:10 Problem z Ostatni post
|
|
|
Witam,
Wyświetla mi tak w ostatnim poście:
Cytat: | Ostatni: Ostatni post: Witam |
A chciałbym, żeby wyświetlało:
Myślę, że trzeba to edytować w includes/functions_hierarchy.php więc załączam plik.
Przy okazji to nie sprawka index_box.tpl, ponieważ tam jest tylko taki kod:
Kod: | <td><span class="gensmall"><b>Ostatni:</b> {catrow.forumrow.LAST_POSTMSG}<br> |
2. Tak z innej beczki jeśli już komuś się bedzie chciało to będe wdzięczny:
Gdzie dodać ten kawałek kodu do index_box.tpl?
Cytat: | <br/><div class="avatar">{catrow.forumrow.LAST_POST_AUTHOR_AVATAR}</div> |
Bo jak ja dodaje to jest zbyt blisko tekstu obok.
Index_box.tpl:
Kod: |
<!-- BEGIN forum_link_no -->
<td class="row2" style="border-left: 1px dashed #3e3e3e; border-bottom: 1px solid #1f1f1f;" width="10%" align="center" valign="middle"><span class="genmed" style="color: #5d5d5d;">Tematów: <b>{catrow.forumrow.TOPICS}</b> <br /> Postów: <b>{catrow.forumrow.POSTS}</b></span></td>
<td class="row1" style="width: 270px; border-left: 1px dashed #3e3e3e; border-bottom: 1px solid #1f1f1f;">
<div style=" margin-left: 3px;" align="left">
<table>
<tr>
<td><span class="gensmall"><b>Ostatni:</b> {catrow.forumrow.LAST_POSTMSG}<br>
<b>Przez:</b> {catrow.forumrow.LAST_POST}<br>
<b>Data:</b> {catrow.forumrow.LAST_POST1}
</span></table>
</div></td>
</center>
</div> |
functions_hierarchy.rar
|
Pobierz Plik ściągnięto 218 raz(y) 5,03 KB |
|
|
|
|
|
Gadatliwa Kasia
|
|
|
|
kooza
Pomógł: 486 razy Posty: 2401
|
Wysłany: 21-08-2015, 12:49
|
|
|
Kod: | <!-- BEGIN forum_link_no -->
<td class="row2" style="border-left: 1px dashed #3e3e3e; border-bottom: 1px solid #1f1f1f;" width="10%" align="center" valign="middle"><span class="genmed" style="color: #5d5d5d;">Tematów: <b>{catrow.forumrow.TOPICS}</b> <br /> Postów: <b>{catrow.forumrow.POSTS}</b></span></td>
<td class="row1" style="width: 270px; border-left: 1px dashed #3e3e3e; border-bottom: 1px solid #1f1f1f;">
<div style=" margin-left: 3px;" align="left">
<table>
<tr>
<td><div class="avatar" style=" float: left;padding-right: 5px;">{catrow.forumrow.LAST_POST_AUTHOR_AVATAR}</div><span class="gensmall"><b>Ostatni:</b> {catrow.forumrow.LAST_POSTMSG}<br>
<b>Przez:</b> {catrow.forumrow.LAST_POST}<br>
<b>Data:</b> {catrow.forumrow.LAST_POST1}
</span></table>
</div></td>
</center>
</div> |
functions_hierarchy.rar
|
Pobierz Plik ściągnięto 233 raz(y) 5,03 KB |
|
|
|
|
|
Eto13362
Pomógł: 15 razy Posty: 97
|
Wysłany: 21-08-2015, 13:33
|
|
|
Z tym avatarem coś chyba nie tak, jest zbyt blisko "Ostatni" itd..
/// Jeśli będziesz miał troszkę więcej czasu zajrzyj też tutaj:
http://przemo.org/phpBB2/...ic.php?t=153529
index_box.tpl.rar
|
Pobierz Plik ściągnięto 218 raz(y) 1,33 KB |
|
|
|
|
|
ResidenT [Usunięty]
|
Wysłany: 21-08-2015, 19:21
|
|
|
Sprawdź.
index_box.tpl.rar Proszę. |
Pobierz Plik ściągnięto 208 raz(y) 1,33 KB |
|
|
|
|
|
Eto13362
Pomógł: 15 razy Posty: 97
|
Wysłany: 21-08-2015, 19:28
|
|
|
ResidenT,
Dzięki za zainteresowanie, ale nadal |
|
|
|
|
ResidenT [Usunięty]
|
Wysłany: 21-08-2015, 19:58
|
|
|
Sprawdź teraz.
index_box.tpl.rar
|
Pobierz Plik ściągnięto 186 raz(y) 1,33 KB |
|
|
|
|
|
Eto13362
Pomógł: 15 razy Posty: 97
|
Wysłany: 21-08-2015, 20:11
|
|
|
ResidenT napisał/a: | Sprawdź teraz. |
Nadal twój kod szwankował, ale troszkę go poprawiłem i znacznie lepiej wygląda.
Kod: |
<table>
<tr>
<td><div style="max-width: 400px;"><div style="float: left; margin-right: 15px;">{catrow.forumrow.LAST_POST_AUTHOR_AVATAR}</div>
<span class="gensmall"><b>Ostatni post:</b> {catrow.forumrow.LAST_POSTMSG}<br>
<b>Przez:</b> {catrow.forumrow.LAST_POST}<br>
<b>Data:</b> {catrow.forumrow.LAST_POST1}
</span></table>
</div></div></td>
|
Tyle, że teraz z datą jest coś nie tak.. |
|
|
|
|
ResidenT [Usunięty]
|
Wysłany: 22-08-2015, 13:16
|
|
|
Bardzo dużo w kodzie poprawiłeś...
Znajdź:
Kod: | <span class="gensmall"> |
Zamień na:
Kod: | <span class="gensmall" style="float: right;"> |
|
|
|
|
|
Gadatliwa Kasia
|
|
|
|
Eto13362
Pomógł: 15 razy Posty: 97
|
Wysłany: 22-08-2015, 13:23
|
|
|
ResidenT napisał/a: | Bardzo dużo w kodzie poprawiłeś... |
Cytat: | Nadal twój kod szwankował, ale troszkę go poprawiłem i znacznie lepiej wygląda.
|
ResidenT napisał/a: |
Znajdź:
<span class="gensmall">
Zamień na:
<span class="gensmall" style="float: right;">
|
Śmiga Dziękować! |
|
|
|
|
|