Answer the question
In order to leave comments, you need to log in
How to replace space in smarti with %20 in a link?
hello, can you tell me how
<a href="{if $settings.enable_locations && in_array($v.depending.caption1, $location_fields)}javascript:;" onclick="changeLocation('{$live_site}', '{$v.depending.caption1}|{$t.name|rawurlencode}'){else}{if $seo_settings.enable_mod_rewrite}{$constructed_url|replace:$sfield:$field_string}{else}{$constructed_url}{$separator}{$v.depending.caption1}={$t.name|replace:'/':'_'}{/if}{/if}">{$t.name|capitalize}{if $t.count>0} ({$t.count}){/if}</a>
href="{if $settings.enable_locations && in_array($v.depending.caption1|replace:' ':'%20', $location_fields)}javascript:;"
href="{if $settings.enable_locations && in_array({$v.depending.caption1|replace:' ':'%20'} , $location_fields)}javascript:;"
Answer the question
In order to leave comments, you need to log in
{$var|escape:'url'}
https://www.smarty.net/docs/en/language.modifier.e...
Probably there is some function in puff for this. what could it be called...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question