Jump to content

Block suppliers module - How do I change "Suppliers"?


Recommended Posts

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

×
×
  • Create New...