Code: Select all
Pan Pizza=Pizza1
Classic Pizza=Pizza2Code: Select all
{$oneuser.properties.pizza}Is there a way to print to web page “Pan Pizza, classic pizza”?
Code: Select all
Pan Pizza=Pizza1
Classic Pizza=Pizza2Code: Select all
{$oneuser.properties.pizza}I can't anymore. Simply but: We have about 200 users and we have to change some of the dropdown values (multilingual).chandra wrote:The format of your dropdown list is wrong. Change key and value.
Means
Pizza1=Pan Pizza
...
If I'm correct the system stores the value to database, not the key. For example, if I have:chandra wrote:Wrong input, wrong result - okay, night is long think you will know what you have to do.
Joking aside - make a look to the related template and compare it with pure html output (sources). Maybe it's possible to change the related vars for key and value.
Well I've been twistings these around so heavily, that this could easily be my mistake alsochandra wrote:Bug report?
Code: Select all
Andorra=ad
United Arab Emirates=ae
…
Code: Select all
<option value="ad">Andorra</option>
<option value="ae">United Arab Emirates</option>
…
Code: Select all
{if $properties.$propname.type == 4}
{$feu_smarty->get_dropdown_text($propname,$onepropvalue)}
{* dropdown *}
Code: Select all
…
{elseif $properties.$propname.type == 5}
{* multiselect *}
{assign var='tmp' value=','|explode:$onepropvalue}
{$feu_smarty->get_multiselect_text($propname,$onepropvalue,'values')}
{cgud_getpropertysummary_url prop="$propname" propval="$onepropvalue" assign='urls'}
<ul>
{foreach from=$values name='multi' item='one'}
<li>{$one}</li>
{/foreach}
</ul>
{else}
…