Siemanko. Chciałbym wrzucić kod z ilością e-kasy do głównej zakładki w profilu a nie do tej z nazwą jaką sobie ustalimy w ACP.
Znalazłem chyba prawidłowy kod, ale gdy go wrzucam to wylatują dziwne warningi.
Odkryłem (chyba!), że kod:
<if test="ecoWorthOn:|:$this->settings['eco_worth_on']">
<if test="ptsPositive:|:$member['eco_worth'] > 0">
<div class='reputation positive' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_worth'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
<if test="ptsZero:|:$member['eco_worth'] < 0">
<div class='reputation negative' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_worth'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
<if test="ptsZero:|:$member['eco_worth'] == 0">
<div class='reputation zero' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_worth'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
<else />
<if test="ptsPositive:|:$member['eco_points'] > 0">
<div class='reputation positive' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_points'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
<if test="ptsZero:|:$member['eco_points'] < 0">
<div class='reputation negative' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_points'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
<if test="ptsZero:|:$member['eco_points'] == 0">
<div class='reputation zero' data-tooltip="{$this->lang->words['on_hand']} {$this->settings['eco_general_currency']}">
<span class='number'>{$this->settings['eco_general_cursymb']}{parse format_number="$member['eco_points'],$this->registry->ecoclass->decimal"}</span>
</div>
</if>
</if>
Wrzucam do: ProfileModern