RetailGUY Posted April 28, 2015 Share Posted April 28, 2015 Hi Wondering if anyone can assist me with changing the title of Block suppliers module on DisplayLeftColumn from "Suppliers" to "Dealers" and everywhere else it exists? I have attempted replacing the Suppliers with Dealer in blocksupplier.tpl as follows with no result; <div id="suppliers_block_left" class="block blocksupplier"> <h4 class="title_block">{if $display_link_supplier}<a href="{$link->getPageLink('supplier')|escape:'html'}" title="{l s='Dealers' mod='blocksupplier'}">{/if}{l s='Dealers' mod='blocksupplier'}{if $display_link_supplier}</a>{/if}</h4> <div class="block_content"> {if $suppliers} {if $text_list} <ul class="bullet"> {foreach from=$suppliers item=supplier name=supplier_list} {if $smarty.foreach.supplier_list.iteration <= $text_list_nb} <li class="{if $smarty.foreach.supplier_list.last}last_item{elseif $smarty.foreach.supplier_list.first}first_item{else}item{/if}"> {if $display_link_supplier}<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}" title="{l s='More about' mod='blocksupplier'} {$supplier.name}">{/if}{$supplier.name|escape:'html':'UTF-8'}{if $display_link_supplier}</a>{/if} </li> {/if} {/foreach} </ul> {/if} {if $form_list} <form action="{$smarty.server.SCRIPT_NAME|escape:'html':'UTF-8'}" method="get"> <p> <select id="supplier_list" onchange="autoUrl('supplier_list', '');"> <option value="0">{l s='All Dealers' mod='blocksupplier'}</option> {foreach from=$suppliers item=supplier} <option value="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'html'}">{$supplier.name|escape:'html':'UTF-8'}</option> {/foreach} </select> </p> </form> {/if} {else} <p>{l s='No Dealers' mod='blocksupplier'}</p> {/if} </div> </div> Regards, RetailGUY Link to comment Share on other sites More sharing options...
Dh42 Posted April 28, 2015 Share Posted April 28, 2015 Have you tried editing the translations in the back office? Link to comment Share on other sites More sharing options...
RetailGUY Posted April 28, 2015 Author Share Posted April 28, 2015 Hey Dh42 Edited supplierblock>translations>en.php [worked perfectly] Thank you for suggesting translations, would never had found what I was looking for without your assist! RetailGUY Link to comment Share on other sites More sharing options...
Recommended Posts