magisterson 4 Posted September 8, 2013 Witajcie. jak uzyskać taki efekt produktów polecanych na stronie głównej jak tutaJ; http://www.kociolki.pl/ chodzi o to aby się scrollowały automatycznie. Share this post Link to post Share on other sites
presta4you.com 21 Posted September 9, 2013 W głównej mierze jest to użycie css i jquery. Sprawdź funkcje animate w jquery. Share this post Link to post Share on other sites
Krystian Podemski 289 Posted September 9, 2013 Masa jest takich pluginów, przykład z brzegu: http://baijs.nl/tinycarousel/ frazy: jquery + carousel Share this post Link to post Share on other sites
vekia 8,952 Posted September 9, 2013 ajj ale do tego dochodzi ogarnięcie kodu, dlatego do frazy którą podał krystian możesz dodać jeszcze + prestashop a jak nie chce Ci sie szukać, sprawdź ten moduł lofnewproduct.v.1.0.zip Share this post Link to post Share on other sites
magisterson 4 Posted September 9, 2013 ten moduł pokazuje najnowsze produkty, a mi chodzi o polecane. Ale znalazłem tez moduł o nazwie: loffeatured.v.1.1 i on działą tak jak bym chciał Tylko ze jest taki problem ze chciałem go przeniesc na dół (transplant modułu), ale nie wspiera stopki:( Pewnie trzeba dodać jakiś kod w pliku PHP tak jak pomogłeś mi tutaj @vekia http://www.prestashop.com/forums/topic/271987-polecanefeatured-na-dole/ Share this post Link to post Share on other sites
vekia 8,952 Posted September 9, 2013 mozęsz podać linka do modułu? sprawdze kod i zaproponuje zmiany Share this post Link to post Share on other sites
magisterson 4 Posted September 9, 2013 jasne: http://www.prestashop.com/forums/topic/247228-free-module-lof-featured-products-carousel/ wersja 1.1 Share this post Link to post Share on other sites
vekia 8,952 Posted September 9, 2013 dzięki! no to zaczynamy w pliku loffeatured.php jest funkcja instalacyjna function install() - zmień ją na: function install(){ if (!parent::install()) return false; if(!$this->registerHook('header')) return false; if(!$this->registerHook('footer')) return false; if(!$this->registerHook('top')) return false; return true; } dodałem registerhook('footer') następnie zaraz za: dodałem: function hookFooter($params) { return $this->processHook( $params,"home"); } po wszystkim odinstalowałem moduł i zainstalowałem go ponownie. przeszedłem do zakładki moduły > pozycje odnalazłem listę modułów "displayTop" i "displayHome" (nie displayHeader!) i usunąłem moduł loffeatured z tych pozycji po wszystkim moduł wyświetla się w stopce Share this post Link to post Share on other sites