clampdown Posted October 23, 2015 Share Posted October 23, 2015 Hello,Is it possible to change the default "loading" text on a specific category only ...... using an IF / ELSE statement in blocklayered_mod.tpl?I've tried the following - it works on the IF category but on the ELSE categories the loading text and icon doesn't appear at all. {if $category->id == 538} <div id="layered_ajax_loader" style="display: none;"> <div id="products_loader_icon"> <p> <img src="{$img_ps_dir}loader.gif" alt="" /> <br />{l s='Loading TEST TEXT...' mod='blocklayered_mod'} </p></div> </div> {else} <div id="layered_ajax_loader" style="display: none;"> <div id="products_loader_icon"> <p> <img src="{$img_ps_dir}loader.gif" alt="" /> <br />{l s='Loading...' mod='blocklayered_mod'} </p></div> {/if} Any help would be great - thanks Link to comment Share on other sites More sharing options...
razaro Posted October 23, 2015 Share Posted October 23, 2015 Think you are missing one closings div in else. Also shouldn't you use different loader image file? like loader538.gif for example Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now