Matt C.
New Member
AMS Premium
CAS Premium
EMS Early Adopter
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
I'm trying to put custom user fields in the quick preview template, but I've run into some problems.
This is what I get (this is from the quick preview url)
Here is the code inside "nflj_showcase_item_quick_preview"
Any help would be appreciated!
This is what I get (this is from the quick preview url)
Here is the code inside "nflj_showcase_item_quick_preview"
Code:
<div class="previewTooltip">
<xen:if is="{$item.cover_image}">
<a class="avatar NoOverlay" href="{xen:link showcase, $item}">
<img width="48" height="48" border="0" src="{$item.cover_image.thumbnailUrl}" />
</a>
<xen:elseif is="{$category.category_image}" />
<a class="avatar NoOverlay" href="{xen:link showcase, $item}">
<img width="48" height="48" border="0" alt="{$category.category_name}" src="@imagePath/nflj/showcase/category_images/{$category.category_image}">
</a>
<xen:else />
<xen:avatar user="$itemUser" size="s" />
</xen:if>
<div class="text">
<xen:if is="{$item.customFields.weaponDmg}">
<dl class="customShowcaseFieldweaponDmg">
<dt>{xen:helper showcaseFieldTitle, 'weaponDmg'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'weaponDmg', {$item.customFields.weaponDmg}}</dd>
</dl>
</xen:if>
<xen:if is="{$item.customFields.weaponAcc}">
<dl class="customShowcaseFieldweaponAcc">
<dt>{xen:helper showcaseFieldTitle, 'weaponAcc'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'weaponAcc', {$item.customFields.weaponAcc}}</dd>
</dl>
</xen:if>
<xen:if is="{$item.customFields.weaponRng}">
<dl class="customShowcaseFieldweaponRng">
<dt>{xen:helper showcaseFieldTitle, 'weaponRng'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'weaponRng', {$item.customFields.weaponRng}}</dd>
</dl>
</xen:if>
<xen:if is="{$item.customFields.weaponRoF}">
<dl class="customShowcaseFieldweaponRoF">
<dt>{xen:helper showcaseFieldTitle, 'weaponRoF'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'weaponRoF', {$item.customFields.weaponRoF}}</dd>
</dl>
</xen:if>
<xen:if is="{$item.customFields.weaponAmm}">
<dl class="customShowcaseFieldweaponAmm">
<dt>{xen:helper showcaseFieldTitle, 'weaponAmm'}:</dt>
<dd>{xen:helper showcaseFieldValue, $item, 'weaponAmm', {$item.customFields.weaponAmm}}</dd>
</dl>
</xen:if>
</div>
</div>
Any help would be appreciated!