<xen:require css="trophy.css" />
<div class="trophy" id="trophy-{$trophy.trophy_id}">
<div class="points">{$trophy.trophy_points}</div>
<xen:if is="{$trophy.award_date}">
<div class="awarded">{xen:phrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
</xen:if>
<div class="info">
<h3 class="title">{$trophy.title}</h3>
<p class="description">{xen:raw $trophy.description}</p>
</div>
</div>
That now shows the amount points awarded that do great i can work with that thanks
I'll try it on my end then let you knowHow:
Code:
- Find/create icons that fit your trophies
- Rename them: "trophy_1.png" for the trophy with ID=1, "trophy_2.png" for ID=2, etc.
- Upload them to your server
- Open trophy template
- Replace entire code with:
<xen:require css="trophy.css" />
<div class="trophy" id="trophy-{$trophy.trophy_id}">
<div class="points"><img title="{$trophy.title}" alt="{$trophy.title}" src="[PATH TO YOUR TROPHY ICON DIRECTORY]/trophy_{$trophy.trophy_id}.png"></div>
<xen:if is="{$trophy.award_date}">
<div class="awarded">{xenhrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
</xen:if>
<div class="info">
<h3 class="title">{$trophy.title}</h3>
<p class="description">{xenhrase points}: {$trophy.trophy_points}</p>
<p class="description">{xen:raw $trophy.description}</p>
</div>
</div>
This i try lol couldnt get it working
Yeah, I'm modifying the codeThanks i see the date is 2012 so that could be problem
We use essential cookies to make this site work, and optional cookies to enhance your experience.