Jump to content

Block Layered Mod - Loading Icon


clampdown

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...