eci_kluczbork Posted December 14, 2015 Share Posted December 14, 2015 (edited) Witam serdecznie, proszę o pomoc , nie wiem jak mogę zmienić aby wyświetlały się pełne tytuły produktów w module "produkty tej samej kategorii", mam prestę 1.6 szczegóły na fotce edit. pytanie numer 2 jak zmienić wtyczkę facebooka na polską ?? chodzi o "like page " "share" i ten napis po angielsku zaznaczony na szaro. http://www.najazdkablowy.pl/fotki/dwa.png Edited December 14, 2015 by eci_kluczbork (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted December 14, 2015 Share Posted December 14, 2015 1. w kodzie musisz zwiększyć truncate. 2. w kodzie chyba js modułu musisz zmienić kod języka na pl_PL. Link to comment Share on other sites More sharing options...
eci_kluczbork Posted December 14, 2015 Author Share Posted December 14, 2015 (edited) zmieniłem i nic wymusiłem kompilację {** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]>* @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}{if isset($categoryProducts) && count($categoryProducts) > 0 && $categoryProducts !== false}<div class="clearfix blockproductscategory"> <h2 class="productscategory_h2"> {if $categoryProducts|@count == 1} {l s='%s other product in the same category:' sprintf=[$categoryProducts|@count] mod='productscategory'} {else} {l s='%s other products in the same category:' sprintf=[$categoryProducts|@count] mod='productscategory'} {/if} </h2> <div id="{if count($categoryProducts) > 5}productscategory{else}productscategory_noscroll{/if}"> {if count($categoryProducts) > 5}<a id="productscategory_scroll_left" title="{l s='Previous' mod='productscategory'}" href="javascript:{ldelim}{rdelim}">{l s='Previous' mod='productscategory'}</a>{/if} <div id="productscategory_list"> <ul {if count($categoryProducts) > 5}style="width: {math equation="width * nbImages" width=107 nbImages=$categoryProducts|@count}px"{/if}> {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} <li {if count($categoryProducts) < 6}style="width:60px"{/if}> <a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" class="lnk_img" title="{$categoryProduct.name|htmlspecialchars}"><img src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium_default')|escape:'html'}" alt="{$categoryProduct.name|htmlspecialchars}" /></a> <p class="product_name"> <a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)|escape:'html'}" title="{$categoryProduct.name|htmlspecialchars}">{$categoryProduct.name|truncate:35:'...'|escape:'html':'UTF-8'}</a> </p> {if $ProdDisplayPrice AND $categoryProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} <p class="price_display"> <span class="price">{convertPrice price=$categoryProduct.displayed_price}</span> </p> {else} <br /> {/if} </li> {/foreach} </ul> </div> {if count($categoryProducts) > 5}<a id="productscategory_scroll_right" title="{l s='Next' mod='productscategory'}" href="javascript:{ldelim}{rdelim}">{l s='Next' mod='productscategory'}</a>{/if} </div> <script type="text/javascript"> $('#productscategory_list').trigger('goto', [{$middlePosition}-3]); </script></div>{/if} Edited December 14, 2015 by eci_kluczbork (see edit history) Link to comment Share on other sites More sharing options...
design4VIP Posted December 14, 2015 Share Posted December 14, 2015 1. modul productscategory, w jego szablnie (.tpl) zmien wartosc |truncate:XX na wieksza - wymagana. 2. trzeba przez skrypt zaimlementowac jezyk: locale=pl_PL Link to comment Share on other sites More sharing options...
design4VIP Posted December 14, 2015 Share Posted December 14, 2015 pytanie, w ktorym miejscu nanosisz zmiany? czy w plikach glownych w ./modules/modul czy w ./themes/skorka/modules/modul. w pierwszej kolejnosci sa pod uwage brane te drugie. ogolnie tych z katalogu glownego (czy to szablony, czy kontrolery, czy skrypty, css) nie powinno sie ruszac. od tego sa wlasnie nadpiswania modulow czy to w modulach skorki czy override Link to comment Share on other sites More sharing options...
eci_kluczbork Posted December 15, 2015 Author Share Posted December 15, 2015 Dziękuję, kategorie udało się zmienić z impletacją facebooka mam problem nie wiem w którym pliku to zmienić i co dokładnie wkleić, tylko : locale=pl_PL ??? w jakim pliku ? z góry dziękuję za pomoc Link to comment Share on other sites More sharing options...
design4VIP Posted December 15, 2015 Share Posted December 15, 2015 a co na ten temat znalazles w google? w ogole cokolwiek szukales na wlasna reke jak zmienic w iframe facebooka jezyk? mi znalezienie pigulki, moze nie konretnie do presta ale ogolnej, zajelo 5sek... jedno zapytanie i pierwsza storna od gory. dostales juz i tak spora podpowiedz, bo masz w sumei gotowaca, ktory nalezy wstawic, teraz tylko kwestia znalezienia tego w polaczeniu z facebook, przeanalizowanie modulu i dodanie zmian pozwalajacych na zmiane jezyka. Link to comment Share on other sites More sharing options...
endriu107 Posted December 15, 2015 Share Posted December 15, 2015 Oj nie tak łatwo zmotywować kogoś do samodzielnego szukania, napisałem że w pliku js modułu, teraz zaglądnąłem z ciekawości moduł ma tylko jeden plik js i to tak ubogi w kod że nawet nie trzeba specjalnie szukać gdzie to zmienić, tylko chęci i jeszcze raz chęci. Link to comment Share on other sites More sharing options...
design4VIP Posted December 18, 2015 Share Posted December 18, 2015 mysle, ze nalezy coraz czesciej przy takich postach "dajcie gotowca" wspominac, ze forum jest pomocowe... "pomoc" == nakreslenie problemu, rozwiazania za darmo a "gotowiec" == przyjecie zlecenia i wyslanie gotowego rozwiazania, oczywiscie jak zlecenie o odplatnie. tak czy tak trzeba troche poswiecic, w pierwszym wypadku czasu, w drugim fundoszy. w sumie wychodzi na to samo, bo "czas to pieniadz" tylko trzeba wybrac to lepsze zlo 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