Jump to content


  • Posts

  • Joined

  • Last visited

Morfeus's Achievements


Newbie (1/14)



  1. Hi, This module is amazing. Thank you. I found some problems. 1) missing picture path Original line 754: $img = $level == 1 ? 'lv1.gif' : 'lv'.$level.'_'.($todo == $doneC ? 'f' : 'b').'.gif'; Replaced 754: $img = $level == 1 ? 'lv1.png' : 'lv'.$level.'_'.($todo == $doneC ? 'f' : 'b').'.png'; 2) deprecated functions: hideCategoryPosition Original line 765: '.stripslashes(Category::hideCategoryPosition($current['infos']['name'])).''; Replaced 765: '.stripslashes($current['infos']['name']).''; Original line 1843: $this->_menu .= ''.(trim($NameSubstitute[0]['name_substitute']) != '' ? $NameSubstitute[0]['name_substitute'] : Category::hideCategoryPosition($NameCategory[0]['name'])).''.$eol; Replaced 1843: $this->_menu .= ''.(trim($NameSubstitute[0]['name_substitute']) != '' ? $NameSubstitute[0]['name_substitute'] : $NameCategory[0]['name']).''.$eol Original line 1854: $this->_menu .= ''.(trim($NameSubstitute[0]['name_substitute']) != '' ? $NameSubstitute[0]['name_substitute'] : Category::hideCategoryPosition($NameCategoryUnder[0]['name'])).''.$eol; Replaced 1854: $this->_menu .= ''.(trim($NameSubstitute[0]['name_substitute']) != '' ? $NameSubstitute[0]['name_substitute'] : $NameCategoryUnder[0]['name']).''.$eol; Are these changes correct? Or am I wrong? 3) Problem with FriendlyURL (FO) The correct link is: http://myweb.com/en/2-music-ipods or The correct link is: http://myweb.com/fr/2-music-ipods But in the menu is the link: http://myweb.com/2-music-ipods /en/ or /fr/ is missing. For products generated link is correct. 4) In BO items: Add button and MeGa DrOwN mEnU organization MeGa DrOwN mEnU organization – There are only displayed items entered in English. If you add an item to another language, the item is not displayed in the BO. In FO is displayed correctly. 5) In BO: tinyMCE is undefined Solution (works only for IE): Change line 851 (script type="text/javascript" src="'.__PS_BASE_URI__.'js/tinymce/jscripts/tiny_mce/tiny_mce.js">) to: script type="text/javascript" src="'.__PS_BASE_URI__.'js/tiny_mce/tiny_mce.js"> Change line 879: language : "'.(file_exists(_PS_ROOT_DIR_.'js/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en').'" Can somebody advice me how to remove these errors? Thank you Best regards
  2. Zdar, nebo muzes pouzit Prestu v1.4 ta tuto moznost obsahuje. Ale ted je v bug reportu pozadavek na nejake zmeny.
  3. Ahoj, zkus to dle: http://www.prestashop.com/wiki/Troubleshooting_9/ nebo pokud ti nefunguje zasilani emailu - zkontrolovat nastaveni emailu (nastavit funkcni parametry).
  4. Hi, Most effective solution for 1.4 test release will be creating bug report in: http://www.prestashop.com/bug_tracker/. BR
  5. http://www.julien-breux.com/categorie/prestashop/prestashop-modules-gratuits/menuhorizontal/
  6. Zdravim, Zkousel nekdo nainstalovat modul Magic Zoom Plus a ma ho funkcni? Modul pro prestu: http://www.prestastore.com/product-lists/1124-magic-zoom-plus.html http://www.magictoolbox.com/magiczoomplus/modules/prestashop/ Modul nainstaluji dle prilozenych kroku bez chyb ale v FO nefunguje. Je treba nekde neco jeste nastavit nebo upravit? Predem Dekuji za odpovedi.
  7. Ahoj, v editaci zbozi (v BO) pod polem mnozstvi jsi muzes pro kazdy jazyk napsat co potrebujes.
  8. Ahoj, dle meho nazoru funguji - zkousel jsem cca 10 reseni (normalni i flash). Reseni z odkazu nad timto prispevkem funguje - ted jsem ho testnul. Obmenovani musis nastavit v Configure: Random from Home category. Uprava stylu dle tve predstavy take neni problem (zmenis css, nebo zdrojak). Neznam tvou predstavu ale vse je mozne :-).
  9. Ahoj, modul obsazeny v zakladni instalaci prestashopu toto neumoznuje. Muzes napsat feature request. Na foru je nekolik reseni (hledej - Featured Products). Pripadne muzes upravu udelat sama.
  10. Ahoj, vse zrusis nebo nastavis v souboru: themes\tvojetema(pokud mas defaut tema tak prestashop)\category.tpl Pokud chces zrusit vse smaz radky 33 - 50: {l s='Subcategories'} {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} {/foreach} Pokud jen obrazky smaz radky 38 - 42: {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if}
  11. Hi, Block displays all the main categories. Must be changed: {if $mainCategory == 0 OR $node.id == $mainCategoryId OR $depth > 1} to: {if $mainCategory != 0 OR $node.id == $mainCategoryId OR $depth > 1} If you click on the product in category or featured products. Menu is hidden. Example: - Click on the product in Main category 1 -> Subcategory 1 Result: - Menu is hidden. Correct result has to be: Main Category 1 [b]-Subcategory 1[/b] -Sub 11 -Sub 22 -Subcategory 2 -Subcategory 3 Thank you
  12. After the code change to: for blockcategoriesaccordion.php line 190 from: if (isset($_GET['id_category'])) $smarty->assign('currentCategoryId', intval($_GET['id_category'])); to: if (isset($_GET['id_category'])) $currentCategoryId=intval($_GET['id_category']); for category-tree-branch.tpl line 1 from: {if $mainCategory == 0 OR $node.id == $mainCategoryId OR $depth > 1} to: {if $mainCategory != 0 OR $node.id == $mainCategoryId OR $depth > 1} for blockcategoriesaccordion.php line 195 - 212 from: if ($currentCategoryId > 1) { $id_category = $_GET['id_category']; do { $category = new Category($id_category); $id_parent = $category->id_parent; if ($id_parent == 1) $mainCategoryId = $id_category; else $id_category = $id_parent; } while ($mainCategoryId == 0); } $smarty->assign('mainCategoryId', $mainCategoryId); to: if ($currentCategoryId > 1) { $id_category = $_GET['id_category']; do { $category = new Category($id_category); $id_parent = $category->id_parent; if ($id_parent == 1) $mainCategoryId = $id_category; else $id_category = $id_parent; } while ($mainCategoryId == 0); } $smarty->assign('mainCategoryId', $mainCategoryId); $cookie->last_visited_category = intval($_GET['id_category']); $smarty->assign('currentCategoryId', intval($_GET['id_category'])); Menu starts work. The problems is: 1) After a long time in the menu - everything stops working (does not generate categories). I must to uninstall the module. and Reinstall. Any Idea? Thank you
  13. Thank you I will try to make a change. Just have a small question. Where to insert this code in the file blockcategoriesaccordion.php?: $id_category = $currentCategoryId; $mainCategoryId = 0; do { $category = new Category($id_category); $id_parent = $category->id_parent; if ($id_parent == 1) $mainCategoryId = $id_category; else $id_category = $id_parent; } while ($mainCategoryId == 0); $smarty->assign('mainCategoryId', $mainCategoryId);
  14. Hi Rocky, Looking for a code change to enable: Example: In the horizontal menu, I have three main categories. Main Category 1! Main Category 2! Main Category 3 After clicking the Main category 1 appear in the block: Main Category 1 - Subcategory 1 - Sub 11 - Sub 22 - Subcategory 2 .... Main categories 2 and 3 are hiding in the block. Sample code (category-tree-branch.tpl): > {if $node.id == $currentCategoryId} {$node.name|escape:html:'UTF-8'} {if $node.children|@count > 0} </pre> <ul> {foreach from=$node.children item=child name=categoryTreeBranch} {if $smarty.foreach.categoryTreeBranch.last} {include file=$tpl_dir./category-tree-branch.tpl node=$child last='true'} {else} {include file=$tpl_dir./category-tree-branch.tpl node=$child last='false'} {/if} {/foreach} </ul> <br> {/if}<br><br>{/if This works only for $node.id = = $currentCategoryId. When I click the subcategory everything disappears - this is correct. This is in the condition. But How to modify this code after clicking on the Subcategory 1 or Sub 11 display remained the Main categories 1 (for more than 2 levels). Thank you for your advice
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More