hurtech Posted March 28, 2011 Share Posted March 28, 2011 Hı Guys ı made manufacturerblock whit logos. but I want to show on 1 line, 2 picturesThis my tpl code How can ı swhon on 1 line 2 logo thanks <!-- Block manufacturers module --> {l s='Manufacturers' mod='blockmanufacturer'} {if $manufacturers} {if $text_list} {foreach from=$manufacturers item=manufacturer name=manufacturer_list} {if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb} getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name} getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}"> {/if} {/foreach} {/if} {if $form_list} <form action="{$smarty.server.SCRIPT_NAME}" method="get"> {l s='All manufacturers' mod='blockmanufacturer'} {foreach from=$manufacturers item=manufacturer} {$manufacturer.name} {/foreach} </form> {/if} {else} {l s='No manufacturer' mod='blockmanufacturer'} {/if} <!-- /Block manufacturers module --> Link to comment Share on other sites More sharing options...
Gleydson Posted November 6, 2013 Share Posted November 6, 2013 Hı Guys ı made manufacturerblock whit logos. but I want to show on 1 line, 2 pictures This my tpl code How can ı swhon on 1 line 2 logo thanks <!-- Block manufacturers module --><div id="manufacturers_block_left" class="block blockmanufacturer"> <h4><a href="{$base_dir}manufacturer.php" title="{l s='Manufacturers' mod='blockmanufacturer'}">{l s='Manufacturers' mod='blockmanufacturer'}</a></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 >getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name}</a></li> <a >getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}"><img src="{$img_manu_dir}{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}-medium.jpg" alt="{$manufacturer.legend|escape:'htmlall':'UTF-8'}"></a> {/if} {/foreach} </ul> {/if} {if $form_list} <form action="{$smarty.server.SCRIPT_NAME}" method="get"> <p> <select id="manufacturer_list"> <option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option> {foreach from=$manufacturers item=manufacturer} <option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">{$manufacturer.name}</option> {/foreach} </select> </p> </form> {/if}{else} <p>{l s='No manufacturer' mod='blockmanufacturer'}</p>{/if} </div></div><!-- /Block manufacturers module --> funcionou? 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