Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.


  • Content Count

  • Joined

  • Last visited

  • Days Won


ariom last won the day on September 8 2019

ariom had the most liked content!

Community Reputation

5 Neutral

Recent Profile Visitors

452 profile views
  1. Yes Haylau, very strange for me too, i started this site with PS 1.3....up to 1.6, then migrated to TB, and everything was running fine till last week... Anyway, i'm ok for the moment with understanding where the problem was and with the fix in the DB, i'm not creating new categories every day and, until now, i never had problem with already assigned categories, just with new one .... i will look deeper on it the next days .... MERRY XMAS TO YOU ALL .... HOPING FOR A BETTER FUTURE ....!
  2. wah ... for some reason when creating categories, on the DB they where assigned only to group n. 1 ... this is strange because it happen suddenly with no change to the core, anyway for the moment i just assigned them to group no. 2 and 3 creating the respective rows in the Category group table ... this made the blocktopmenu work as expected ... Still i can't understand the reason and find a fix for the problem, but at list i feel in the good direction ... thank you for your time Wartin ... if anymore suggestion they are allways appreciated...!
  3. Yes they are all active .... i tried also to uninstall and reinstall the blocktopmenu, nothing change ... i will check in the database to see if there is some difference between old categories (correctly displayed on the menu) and the newly created categories (not displayed on the menu) ... i'm really stuck 😞
  4. thank you Wartin but this is not usefull, I try to explain a bit .... I made some test ed i see that everything is working fine on the categories page, i can create, edit and manage the categories correctly,.... the problem is coming when i want to add them on blocktopmenu ... no newly created categories are displayed, at any level, i try to uninstall and reinstall it, add menu items etc .... the newly created categories are ok on the category page blocktopmenu is catching them ( i can see the new categories on the right side, i can select them and add to the left side on the menu configuration page) but they are not displayed on the front page topmenu.... i felted it was something related to the categories creation, but i'm quite shure it is related to blocktopmenu itself, also if i don't know how, what and where ..... i'm a bit confused, please help me understand what i shall try or do ....
  5. I just discovered that on BO categories page i can't choose the type of category to create root category or child category ... this is my category page: and this is how it should be: i can create, edit and manage the categories, but i can't make any parent category.... Can anybody point me in the direction to understand where to check to find the reason of this problem? Thank you in advance for your suggestion ....
  6. Thank you @yaniv14 ...that was the right solution ... great catch!!! 👍👍👍 @wakabayashiyou were very close, its me with so little code understanding not coming to the point ... thank you too! 🙏 So, if someone have a similar problem, this is the final code assembled to conditionally display my module in the right column on both cms categoriy and related cms page by given ID: {if $smarty.get.id_cms || $smarty.get.id_cms_category} {if in_array($id_cms, array(4,13,14,18,19,20,22)) || in_array($smarty.get.id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if}
  7. @wakabayashiThank you for your effort in helping me .... and for your kind words too :) ... i'm not a developer ... just try to use my little knowledge at my best .... So i tried both your lines of code but unfortunatly no one is working.... i tried also to play a bit with mixing the code ... nothing happen ... :( no cache, recompile on, also everytime deleting class_index.php ... I can't understand why the code is working fine for cms pages and the same code adjusted for the category pages is not working at all... if it can be of any utility, this is the url to the cms category page where the module don't show https://www.navyonepal.it/content/category/2-navyo-nepal-discover-asia-chi-siamo and this a relateted cms pages where the module is working fine https://www.navyonepal.it/content/4-nostra-storia-e-le-persone looking at the source, the variable $page_name 'cms' is the only one i can see ... both in cms category page and cms pages ... and with debug on the cms category page give warnings about 'undefined index id_cms' and 'undefined index id_cms_category ...i think here is the problem and also the solution but i'm stuck Thanks again ... a lot!
  8. Hi to all, i use to conditionally display a right column block module (html box by EmotionLoop) depending on the cms page i am with this code {if $page_name == 'cms' && $smarty.get.id_cms} {if in_array($id_cms, array(4,13,14,18,19,20,22))} {$content|escape:nofilter} {/if} {/if} This is working fine for the cms pages ... The problem i'm digging around is that if i am on the related cms category page the right column show nothing, but i need it, so i try with this code: {if $page_name == 'cms' && $smarty.get.id_cms_category} {if in_array($id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if} but it is not working... the module content is not showing on the right column of the cms category 2 page at all ... attached 2 screenshoot to better explain my need ..... Someone know the reason why the module content is called correctly on a cms page and not on the related cms category pages? Thanks in advance for your help ...
  9. IT works!!! Just to make this on an override to not loose the changes when upgrading the module maybe can be useful for any other locale is not on the list 🙂
  10. Try to help myself .. 🙂 Maybe I was looking the wrong place ... i checked through module's classes ansd controllers, but i think the right file is the paypal.php on the module's root ... i find out and add or change the iso code as follow on the functions getLocaleByIso and hoockPayment public static function getLocaleByIso($iso) { switch (strtolower($iso)) { case 'it': return 'it_IT'; case 'fr': return 'fr_FR'; case 'hk': return 'zh_HK'; case 'cn': return 'zh_CM'; case 'tw': return 'zh_TW'; case 'xc': return 'zh_XC'; case 'dk': return 'da_DK'; case 'nl': return 'nl_NL'; case 'gb': return 'en_GB'; case 'de': return 'de_DE'; case 'il': return 'he_IL'; case 'id': return 'id_ID'; case 'jp': return 'ja_JP'; case 'no': return 'no_NO'; case 'pt': return 'pt_PT'; case 'pl': return 'pl_PL'; case 'ru': return 'ru_RU'; case 'es': return 'es_ES'; case 'se': return 'sv_SE'; case 'th': return 'th_TH'; case 'tr': return 'tr_TR'; default: return 'en_US'; } } and here .... public function hookPayment($params) { $isoLang = [ 'en' => 'en_US', 'it' => 'it_IT', 'fr' => 'fr_FR', 'de' => 'de_DE', 'nl' => 'nl_NL', ]; $this->context->smarty->assign( [ 'logos' => PayPalLogos::getLogos($this->getLocale()), static::LIVE => \Configuration::get(static::LIVE), 'use_mobile' => true, 'PayPal_lang_code' => (isset($isoLang[$this->context->language->iso_code])) ? $isoLang[$this->context->language->iso_code] : 'it_IT', 'params' => $params, ] ); Following some more change for express and plus checkout ... this is only for standard I don't know if is working now ... i will update the post if solved after tested(and maybe publish an "how to^ with step by step on the italian forum if somebody find my same problem) ....
  11. Hi, all, I have a question about this small problem : we are selling only for the italian market, only IT language activated and using the default paypal module with TB 1.0.8, but our italian customer get redirected to an english version of the Paypal checkout page ... Only payment standard is activated, no express checkout i contacted the Paypal tecnical support for help thinking maybe some configuration to change on their side, but they answered that on my integration i have to insert or change the variable LOCALCODE passed during the API call .... I checked with no result where this variable is set.... or there is some configuration i miss? anyone can help me to find the way to set this variable correctly so to get the correct language ( italian ) checkout page on paypal? Thanks in advance for yours suggestion!
  12. @dynambee this was my solution to the same problem ... if i understand it right :) but i did on TB 1.08 with a modified copy of community theme default , i don't know for niara theme and TB 1.1 ... if you like my solution i can upload a copy of the modified category.tpl to make a compare vith the same on niara and maybe do yourself the needed change (its very simple change)
  13. @grestart ... not sure if it can help ... Prestatoolbox is signed here as a Thirty Bees compatible module developer, they have on their site a module called Block Multi languages / Multi domain for PS 1.5 / 1.6, that i think is aimed to do what you need, the counterpart is that the module is not updated from many years (2016), and (i bought this module for a friend in 2015) if you are not skilled a bit on Multishop and creating subdomain (you must own both domain.com and domain.de) it is also not easy to implement ... I don't know if the developer likes to upgrade that module and make it compatible for TB (you can cotact to him and ask), but i think this is why he is signed on the partners page, and it is not a free module ... 🙂
  14. Tks @wakabayashi , beeing on a shared hosting (a small one, fine tuned for prestashop ...), and using only tb cache and CCC, no cdn, no other cache type, your comment make me relax a bit, cause the speed was one of my concern i wanted ear about.... anyway i must thanks al the TB staff for that ... they did really a great job ....
  15. wow! thanks @jnsgioia, beeing it "handmade" with little knowledge, i really like your comment ... any criticism or suggestion?
  • Create New...