Archiv verlassen und diese Seite im Standarddesign anzeigen : "Letzter Beitrag von" Anzeige ändern
entweder seh ich den Wald vor lauter Bäumen nicht, oder ich bin echt zu dämlich.. :o
ich versuch grade die forumhome_lastpostby" zu ändern, und zwar so, dass [wenn man in Tabellen denkt] zuerst in einer Spalte das Posticon steht, dahinter dann ein einer 2-zeiligen Spalte oben der Threadtitel steht und in der unteren Zeile dann der Name des Posters und das Postdatum, eben damit das ganze nicht mehr soviel Platz wegnimmt...
ich hab versucht an die Stelle eben eine so aufgebaute Tabelle zu setzen.. das hat mir dann die komplette Boardansicht zerschossen :D
Also versuch ichs ebenfalls mit divs.. aber was in meinem Editor noch vollkommen richtig angezeigt wird
[im groben
<div align="left">Posticon
</div>
<div class="block">
<div align="left"> Themanname
</div>
<div class="block">
<div align="left">Poster
</div>
<div align="right">Datum
</div>
</div>
</div>]
funktioniert im Board überhaupt nicht.... Statt das Posticon neben den 2 zeilen anzuordnen nimmt es sogar noch ne eigene zeile ein und macht alles NOCH größer...
hat jemand eine Idee wie ich das umsetzen kann? Ein Kumpel meinte, ich sollte das mit clear und floats lösen, aber dann klappt das mit dem ie wieder nicht....
Ich hab echt keinen Plan mehr....
okay nach langem gebastel hab ichs mit ner Tabelle innerhalb eins divs gelöst...
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]" with="100%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2"><if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
</td>
<td colspan="2"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</td>
</tr>
<tr>
<td><phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</td>
<td align="right"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</td>
</tr>
</table>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>
allerdings bekomm ich die ANzeige für Datum und das Icon "gehe zu letztem Post" einfach nicht rechtsbündig, egal wieviel align="right" ich einfüge... jemand dazu evtl noch eine Idee?
StGaensler
15.05.2006, 14:45
Das passt eigentlich?! Hast du einen Link parat, wo ich mir das mal live ansehen kann?
Du kannst anstatt align="right" auch mal style="text-align:right;" probieren, aber ich glaube nicht, dass das so viel ändert.
Viele Grüße,
Stefan
http://www.ffcorner.com/forum/ da ist das Board.
Lustigerweise sieht es im Firefox richtig aus [bis darauf dass eben das Datum und das "gehe zu" Icon nicht rechtsbündig sitzen] im ie und in Opera allerdings tanzen alle Angaben wo sie wollen :confused:
Gandalf2003
15.05.2006, 16:02
irgendwie bin ich blind. kannste mal nen screen machen, mit einem hinweis drauf, was genau dies bewirken soll....:) ich kann irgendwie nichts erkennen, was vom standard abweicht.:eek:
http://www.ffcorner.com/lastpost.jpg da mal zum Vergleich Original-, Ist- und Soll-zustand ;) [im Firefox]
StGaensler
17.05.2006, 20:04
Ich habe mal das originale Template verändert, ich hoffe das hilft dir:
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]" style="width:20em">
<div style="clear:both">
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</div>
<div style="float:$stylevar[right];">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
<div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</div>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>
Viele Grüße,
Stefan
aaaahhh, vielen dank!!:) so gehts auch :p mal gucken ob ich noch aus beidem zusammen genau DAS hinbekomme was ich wollte, aber so isses zumindest schonmal nur noch 2-zeilig und hinten nicht mehr so flatterhaft :) dankeschööön!!
Powered by vBulletin® Version 4.1.12 Copyright ©2012 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.