Jump to content

mudol

Members
  • Posts

    115
  • Joined

  • Last visited

Profile Information

  • Location
    Poland
  • Activity
    Other

Recent Profile Visitors

295,270 profile views

mudol's Achievements

  1. 2023 year and still after edit tempalte order_conf.html layout crashed 馃槙 editing via ftp not working, presta remember old version 馃槙
  2. Hi, somebody have solution for this? In ps 1.6 fancybox show image window to height device, not image 馃槙
  3. Hi, i have this problem too but with ps 1.6.17, The top sending script was /home/XXXXXX/domains/XXXXX.pl/private_html/tools/swift/classes/Swift/Transport/SimpleMailInvoker.php:34 How to fix this? All contact controller is disabled in htaccess: RewriteCond %{QUERY_STRING} ^controller=contact$ RewriteRule ^(.*)\.php$ - [L,R=404] But still something send spam
  4. Could someone paste here ALL code from ps_categorytree.tpl after changes? On my site, that code didn't work, prestasho p1.77, template: classic for now i have: public function getWidgetVariables($hookName = null, array $configuration = []) { $category = new Category((int) Configuration::get('PS_HOME_CATEGORY'), $this->context->language->id); if (Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') && isset($this->context->cookie->last_visited_category) && $this->context->cookie->last_visited_category) { $category = new Category($this->context->cookie->last_visited_category, $this->context->language->id); if (Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') == 2 && !$category->is_root_category && $category->id_parent) { $category = new Category($category->id_parent, $this->context->language->id); } elseif (Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') == 3 && !$category->is_root_category && !$category->getSubCategories($category->id, true)) { $category = new Category($category->id_parent, $this->context->language->id); } } return [ 'categories' => $this->getCategories($category), 'c_tree_path' => isset($categories['children']) && count($categories['children']) && method_exists($this->context->controller, 'getCategory') && ($curr_category = $this->context->controller->getCategory()) ? self::getTreePath($categories['children'], $curr_category->id) : false, 'currentCategory' => $category->id, ]; } public static function getTreePath($categories, $id, array $path = []) { foreach ($categories as $cate) { if ($cate['id'] == $id){ if(is_array($cate['children']) && count($cate['children'])) $path[] = $cate['id']; return $path; } $path[] = $cate['id']; if(is_array($cate['children']) && count($cate['children'])) { if ($result = self::getTreePath($cate['children'], $id, $path)) return $result; } array_pop($path); } return false; } from ps_categorytree.php and it from ps_categorytree.tpl: {** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * 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 https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <[email protected]> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) *} {function name="categories" nodes=[] depth=0} {strip} {if $nodes|count} <ul class="category-sub-menu"> {foreach from=$nodes item=node} <li data-depth="{$depth}"> {if $depth===0} <a href="{$node.link}">{$node.name}</a> {if $node.children} <div class="navbar-toggler collapse-icons{if $c_tree_path && !in_array($node.id, $c_tree_path)} collapsed zmiana{/if} cos1" data-toggle="collapse" data-target="#exCollapsingNavbar{$node.id}"> <i class="material-icons add">&#xE145;</i> <i class="material-icons remove">&#xE15B;</i> </div> <div class="collapse{if $c_tree_path && in_array($node.id, $c_tree_path)} in zmiana2{/if} cos2" id="exCollapsingNavbar{$node.id}"> {categories nodes=$node.children depth=$depth+1} </div> {/if} {else} <a class="category-sub-link" href="{$node.link}">{$node.name}</a> {if $node.children} <span class="arrows{if $c_tree_path && !in_array($node.id, $c_tree_path)} collapsed zmiana3{/if} cos3" data-toggle="collapse" data-target="#exCollapsingNavbar{$node.id}"> <i class="material-icons arrow-right">&#xE315;</i> <i class="material-icons arrow-down">&#xE313;</i> </span> <div class="collapse{if $c_tree_path && in_array($node.id, $c_tree_path)} in zmiana4{/if} cos4" id="exCollapsingNavbar{$node.id}"> {categories nodes=$node.children depth=$depth+1} </div> {/if} {/if} </li> {/foreach} </ul> {/if} {/strip} {/function} <div class="block-categories hidden-sm-down"> <ul class="category-top-menu"> <li><a class="text-uppercase h6" href="{$categories.link nofilter}">{$categories.name}</a></li> <li>{categories nodes=$categories.children}</li> </ul> </div>
  5. Komu艣 si臋 uda艂o migrowa膰 z shopera na prestashop? S膮 jakie艣 modu艂y do tego? Przede wszystkim chodzi o produkty, kategorie oraz Klient贸w, z zam贸wieniami jak zawsze - s膮 problemy, wi臋c nie musz膮 by膰.
  6. someone have fix for this problem? Still prestashop can't upload svg.
  7. Problemem by艂 szablon maila ustawiony przy tym statusie, by艂 "bankwire", widocznie co艣 by艂o b艂臋dne w nim, zmieni艂em na pusty i zacz膮艂 wysy艂a膰. Wi臋c ten temat rozwi膮zany, ale pojawi艂 si臋 inny, nie s膮 wysy艂ane maile z formularza kontaktowego w "kontakt z nami". Jest ustawiony odbiorca jako "biuro obs艂ugi klienta", ale niestety nic nie dochodzi, w logach te偶 pustka. W sklepie ustawione jest SMTP edit: ok to te偶 jest ju偶 rozwi膮zane, g艂upota ze strony prestashop, trzeba wej艣膰 w modu艂 formularz kontaktowy i tam w艂膮czy膰 wysy艂anie maili. Domy艣lnie presta to ma wy艂膮czone, g艂upie to.
  8. Stary temat ale odkopi臋, prestashop 1.7.6.9, mailalerts zainstalowany z katalogu modu艂贸w presty, wiadomo艣ci dochodz膮 z testowego formularza, dochodz膮 do admina o potwierdzeniu zam贸wienia, ale nie dochodz膮 do klienta, w statusie "oczekiwanie na przelew" mam zaznaczone wysy艂aj email. Jaka mo偶e by膰 przyczyna? W logach serwera nic nie ma o pr贸bie wysy艂ki,
  9. Hi, could You translate this to english, what i must do in this file?
  10. W jaki spos贸b przenosi艂e艣 pliki oraz baz臋? Przez jaki program? Przez shella? Masz dost臋p do ssh na home? A poka偶 jeszcze screena z bazy jak wygl膮da ta kategoria kaga艅ce? Jakie ma znaki? Polskie?
  11. A na home jak by艂o te偶 tak? Zr贸b jeszcze test, dodaj jak膮艣 now膮 kategori臋 z polskimi znakami i zobacz jak si臋 wy艣wietla na stronie oraz jak w bazie wygl膮da, mo偶esz tutaj screen wrzuci膰
  12. Zobacz czy w strukturze bazy danych pola czasem nie maj膮 "utf_swedish_ci" zamiast "utf_polish_ci"
  13. Odkopi臋 stary temat bo robi艂em update z 1.5 na 1.6.1.24 i w艂a艣nie taki mam problem, 偶e w produktach z atrybutami cena jest 0, a po dodaniu do koszyka jest ok. Powy偶szy link nie dzia艂a (wymagana rejestracja, kt贸rej nie ma jak zrobi膰)
  14. Z ciekawo艣ci co to by艂 za modu艂, mam podobny problem, po update z 1.6 do 1.7 wy艣wietla si臋 opis kategorii, ale produkty ju偶 nie,
×
×
  • Create New...