Ich verzweifle hier schon wieder.
Ich habe drei Custom Profile Fields angelegt: steam_id, xbl_id, psn_id
Jetzt möchte ich, dass diese auch in der Themenansicht (viewtopic_body.html) angezeigt werden.
Dort befindet sich dieser Code:
Code: Alles auswählen
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.S_PROFILE_STEAM_ID -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong>{postrow.PROFILE_STEAM_ID_NAME}:</strong> {postrow.PROFILE_STEAM_ID_VALUE}</dd>
<!-- ENDIF -->
Dann wird das Feld aber dennoch nicht angezeigt.
![Verärgert :x](./images/smilies/icon_mad.gif)
Wenn ich jetzt in den Einstellungen der CPF den Haken bei:
... setze, dann taucht das Feld zweimal auf.Bei der Themen-Ansicht anzeigen:
Wenn diese Option gesetzt ist, wird das Feld im Kurzprofil neben den Beiträgen angezeigt.
![Erschüttert :o](./images/smilies/icon_eek.gif)
Allerdings soll es ja nur einmal auftauchen und auch nur dort, wo ich es in das Template einfüge.
Hilfe!!!
//jackennils