Jump to content

How can I change Manufacturers to Designers?


Recommended Posts

I would greatly appreciate any help to change all references to Manufacturer/s throughout the site to Designer/s

 

I tried changing s=Manufacturers to s=Designers in the blockmanufacturers.tpl bacause I saw a post on changing HomeFeatured, but it has not worked. See below:

 

<!-- Block manufacturers module -->

<div id="manufacturers_block_left" class="block blockmanufacturer">

<h4>{if $display_link_manufacturer}<a href="{$link->getPageLink('manufacturer.php')}" title="{l s='Designers' mod='blockmanufacturer'}">{/if}{l s='Designers' mod='blockmanufacturer'}{if $display_link_manufacturer}</a>{/if}</h4>

<div class="block_content">

{if $manufacturers}

{if $text_list}

<ul class="bullet">

{foreach from=$manufacturers item=manufacturer name=manufacturer_list}

{if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb}

<li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</a></li>

{/if}

{/foreach}

</ul>

{/if}

{if $form_list}

<form action="{$smarty.server.SCRIPT_NAME}" method="get">

<p>

<select id="manufacturer_list" onchange="autoUrl('manufacturer_list', '');">

<option value="0">{l s='All designers' mod='blockmanufacturer'}</option>

{foreach from=$manufacturers item=manufacturer}

<option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option>

{/foreach}

</select>

</p>

</form>

{/if}

{else}

<p>{l s='No designer' mod='blockmanufacturer'}</p>

{/if}

</div>

</div>

<!-- /Block manufacturers module -->

Link to comment
Share on other sites

I went back to the other post which Mark Heskith solved and tried each solution but still no change

 

I copied the tpl to my theme/blockmanufacturer. Also changed the cache settings as above. Still no change in the label. I also deleted my temp files in Internet Explorer and cleared the cache in Firefox.

 

Using Firebug in Firefox, I can change it using the HTML edit feature, but can't work out where/how to change it in the tpl / php file

Link to comment
Share on other sites

  • 10 months later...
  • 2 years later...

For any such changes, there are 2 places where if you edit .tpl files it works. One is under themes\<relevant-theme>\ and the second is in themes\<relevant-theme>\modules - once you edit these, it should work. 

 

Check http://art.canvaslane.com/artists, where I have changed "Suppliers" to "artists" - I changed it in "supplier-list.tpl and sitemap.tpl" 

Edited by srishtim (see edit history)
Link to comment
Share on other sites

  • 9 months later...

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...