Ginno Posted July 9, 2009 Share Posted July 9, 2009 a reusit cineva sa modifice blockmanufacturer sa arate logo inloc de text?? Link to comment Share on other sites More sharing options...
sidro Posted July 10, 2009 Share Posted July 10, 2009 ar trebuii sa mearga inlocuind : {$manufacturer.name}">{$manufacturer.name} cu sau care e stringul de logo;si eliminand partea a 2-a Link to comment Share on other sites More sharing options...
Ginno Posted July 10, 2009 Author Share Posted July 10, 2009 care fisier tre sa-l modific??blockmanufacturer.tpl din dolderul modules????? Link to comment Share on other sites More sharing options...
sidro Posted July 10, 2009 Share Posted July 10, 2009 da ! blockmanufacturer.tplam uitat sa precizez Link to comment Share on other sites More sharing options...
Ginno Posted July 10, 2009 Author Share Posted July 10, 2009 nu merge... am incercat Link to comment Share on other sites More sharing options...
The Ge Posted July 12, 2009 Share Posted July 12, 2009 Nu merge pentru că în Prestashop asocierea cu imagini nu se face prin nume, ci prin ID. Pozele producătorilor se află în directorul /img/m/, cu variantele small, medium şi large create de Prestashop.Prin urmare, în /modules/blockmanufacturer/blockmanufacturer.tpl trebuie să înlocuieşti {$manufacturer.name} cu <img src="{$img_manu_dir}{$manufacturer.id_manufacturer}-small.jpg" alt="{l s='Logo of '}{$manufacturer.name}" /> La versiunea 1.2.0.5 este la linia 10.Întrebare: Cum scriu " />" (spaţiu+slash) la sfârşitul tagului de sus? La preview se vede, dar când dau drumul la post îmi mănâncă un spaţiu şi un slash.EDIT: S-a rezolvat, vezi mai jos. Link to comment Share on other sites More sharing options...
sidro Posted July 12, 2009 Share Posted July 12, 2009 ca sa apara asa : " /> "trebuie scris asa :/ & gt ; asa trebuie scris (fara spatii intre ele)scris in cod html Link to comment Share on other sites More sharing options...
The Ge Posted July 12, 2009 Share Posted July 12, 2009 Quote ca sa apara asa : " /> "trebuie scris asa :/ & gt ; asa trebuie scris (fara spatii intre ele)scris in cod html La mine nu merge, frate, asta a fost prima chestie la care m-am gândit. Am încercat toate codurile - friendly, decimale, hexa. Merge oriunde, numa' între tag-urile code nu merge.Îmi dai tu un exemplu? Link to comment Share on other sites More sharing options...
sidro Posted July 12, 2009 Share Posted July 12, 2009 HA ! L-am rezolvat !!!!UITE !!! <img src="{$img_manu_dir}{$manufacturer.id_manufacturer}-small.jpg" alt="{l s='Logo of '}{$manufacturer.name}" /> & lt ; img src="{$img_manu_dir}{$manufacturer.id_manufacturer}-small.jpg" alt="{l s='Logo of '}{$manufacturer.name}" / & gt ; Link to comment Share on other sites More sharing options...
The Ge Posted July 13, 2009 Share Posted July 13, 2009 Eşti tare!Am înţeles acum, trebuie să înlocuiesc toate parantezele unghiulare cu codul HTML (< şi >). Link to comment Share on other sites More sharing options...
Ginno Posted July 13, 2009 Author Share Posted July 13, 2009 may tot nu mere ... daca puteti sa postati tor blockmanufacturer.tplla mine au mini banner producatorii si nu apar Link to comment Share on other sites More sharing options...
The Ge Posted July 13, 2009 Share Posted July 13, 2009 Quote may tot nu mere ... daca puteti sa postati tor blockmanufacturer.tplla mine au mini banner producatorii si nu apar Uite-l ataşat. Când te lămureşti, postează aici rezolvarea, indiferent de cât de banală este. Pentru cine se mai loveşte de problema ta. Plus că şi eu sunt curios de ce nu-ţi funcţionează. blockmanufacturer.zipFetching info... Link to comment Share on other sites More sharing options...
Ginno Posted July 13, 2009 Author Share Posted July 13, 2009 acuma merge....cred ca am gresit eu ceva din cod..daca poti sa modifici inca o data sa nu mai apara "arrows" icons sau sa fie cumva centrate sau 2 pe randsi daca mai poti sa faci acela-si lucru si cu block de furnizori ar fi OKtks Link to comment Share on other sites More sharing options...
The Ge Posted July 13, 2009 Share Posted July 13, 2009 Quote daca poti sa modifici inca o data sa nu mai apara "arrows" icons sau sa fie cumva centrate sau 2 pe randsi daca mai poti sa faci acela-si lucru si cu block de furnizori ar fi OKtks Şi dacă n-o să modific n-o să fie OK? Link to comment Share on other sites More sharing options...
sidro Posted July 14, 2009 Share Posted July 14, 2009 aici ai fara sageata ....este arhiva .rar blockmanufacturer.rar.txtFetching info... Link to comment Share on other sites More sharing options...
Recommended Posts