Seite 1 von 1
Threadart wird nicht angezeigt
Verfasst: 11.09.2007 14:43
von thasTony
Hallo
ich habe gerade den style milky_way installiert, wenn ich jetzt jedoch diese änderung einbau:
http://www.easytutorials.org/prosilver_topic_types.html tritt leider kein effekkt auf...
meine viewforum_body.html :
http://paid4forum.org/styles/milky_way/ ... m_body.txt
thx schonma

Verfasst: 11.09.2007 14:49
von nickvergessen
finde:
Code: Alles auswählen
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
davor, einfügen:
Code: Alles auswählen
<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
Verfasst: 11.09.2007 14:51
von Dr.Death
Das sollte so funktionieren.....wenn Du den Cache im ACP geleert hast.
Das Problem bei diesem kleinen Snippet ist allerdings ein kleiner Schönheitsfehler wenn das Topic verschoben worden ist oder eine Umfrage beinhaltet.
Denn dann wird der Topic Type doppelt angezeigt.
Um das zu umgehen kannst Du folgendes noch ändern:
SUCHE:
Code: Alles auswählen
<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}"class="topictitle">{topicrow.TOPIC_TITLE}</a>
ERSETZE MIT:
Code: Alles auswählen
<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
{topicrow.ATTACH_ICON_IMG} <a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}"class="topictitle">{topicrow.TOPIC_TITLE}</a>
Verfasst: 11.09.2007 14:59
von thasTony
nickvergessen hat geschrieben:finde:
Code: Alles auswählen
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
davor, einfügen:
Code: Alles auswählen
<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
leider auch ohne effekkt also ich habe die zeile die ich wegen des tuts eingefügt habe einfach durch deine ersetzt... caches sind alle geleert habe auch strg + f5 gedrückt...
wenns hilft link zum board:
www.paid4forum.org