mvanrijnen Posted September 29, 2014 Share Posted September 29, 2014 (edited) It would be nice if we could tag features as hidden (backend only). No i have to name them like (sys_FeatureName) and somewhere in the code edit not to show features starting with sys_ . Would be nice if this could be done with standard code. Edited September 29, 2014 by mvanrijnen (see edit history) Link to comment Share on other sites More sharing options...
mvanrijnen Posted October 2, 2014 Author Share Posted October 2, 2014 kick Link to comment Share on other sites More sharing options...
vekia Posted October 3, 2014 Share Posted October 3, 2014 you can achieve it with template modification only, with smarty modifier |strstr {foreach from=$features item=feature} {if $feature.name|strstr:"sys_"==false} <tr class="{cycle values="odd,even"}"> {if isset($feature.value)} <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/if} {/foreach} Link to comment Share on other sites More sharing options...
Recommended Posts