Hi zusammen,
ich möchste gerne die Multiselect Ausgabe mit Komma getrennt haben, statt untereinander.
Ich hab jetzt schon versucht im userprofile.tpl
Smarty
{foreach from=$category.options item=option}
<div class="{cycle}">
<div class="fieldTitle">{lang}wcf.user.option.{$option.optionName}{/lang}</div>
<div class="fieldValue">{@$option.optionValue}
{if GENDERICONS_PROFILE_ENABLE}
{if $option.optionName == "gender"}
{capture assign=optionRow}userOption{@$option.optionID}{/capture}
{if $user->__get($optionRow) != 0}
<img src="{@RELATIVE_WCF_DIR}icon/{if $user->__get($optionRow) == 2}fe{/if}maleS.png" alt="{@$option.optionValue}" title="{@$option.optionValue}" />
{/if}
{/if}
{/if}
</div>
</div>
{/foreach}
Display More
folgendes anzuwenden,
aber "replace" kennt das Smarty von WBB nicht.
In der class.php finde ich nichts wo \n zu <br /> umgewandelt wird ... in der Datenbank steht auf jeden Fall das <br /> noch nicht drin.
Ergebnis soll sein: Nummer1, Nummer2, Nummer 4
Wie kann ich das Problem lösen ?
Viele Grüße
Christoph