davvarts Posted November 8, 2013 Share Posted November 8, 2013 (edited) Chciałbym spytać czy da radę usunąć znacznik <a> z bloku producenci. Używam go jako tak jakby drugiego bloku kategorii a to mi trochę przeszkadza... Dokładnie chodzi mi o nagłowek "Producenci". Oto kod tego bloczku: <!-- Block manufacturers module --> <div id="manufacturers_block_left" class="block blockmanufacturer"> <p class="title_block">{if $display_link_manufacturer}<a href="{$link->getPageLink('manufacturer')|escape:'html'}" title="{l s='Manufacturers' mod='blockmanufacturer'}">{/if}{l s='Manufacturers' mod='blockmanufacturer'}{if $display_link_manufacturer}</a>{/if}</p> <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)|escape:'html'}" 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|escape:'htmlall':'UTF-8'}" method="get"> <p> <select id="manufacturer_list" onchange="autoUrl('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)|escape:'html'}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> </p> </form> {/if} {else} <p>{l s='No manufacturer' mod='blockmanufacturer'}</p> {/if} </div> </div> <!-- /Block manufacturers module --> Myślę, że gdzies tutaj jest diabel pogrzebany... tylko gdzie... Pozdrawiam Edited November 8, 2013 by davvarts (see edit history) Link to comment Share on other sites More sharing options...
presta4you.com Posted November 9, 2013 Share Posted November 9, 2013 3 linijka twojego kodu. Usuń znaczniki a ale pozostaw to co jest miedzy nim. Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 no właśnie, po prostu usunąć kod <a href="{$link->getPageLink('manufacturer')|escape:'html'}" title="{l s='Manufacturers' mod='blockmanufacturer'}"> </a> problem jaki możesz napotkać: brak styli css w nagłówku Link to comment Share on other sites More sharing options...
davvarts Posted November 9, 2013 Author Share Posted November 9, 2013 ok dzieki zrobione Link to comment Share on other sites More sharing options...
Recommended Posts