Jump to content

Northman

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Activity
    Web development agency

Northman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Sorry i can't help much. If you are using a module for export or the native export option in the admin, then it will be in the method doing the export.
  2. Sorry can't make picture. It is the last cache option at the very bottom of the page, you cannot miss it But if it was already disabled, it may not solve your problem. Alternatively, you can try to export your datas in batches using this condition: if( Tools::getMemoryLimit() < memory_get_peak_usage() ) break; This will stop the program before you get the fatal error. So if you record the last exported ID, you can use it in your sql query and start again the program from this point. Good luck!
  3. Have you tried setting it to OFF? I had the same problems when working on table updates with +50.000 records, and setting the sql cache to OFF worked for me. I hope it will work for you.
  4. You should try de-activate cache, not smarty cache, but APC/Memcache/CacheFS/Xcache which is the last options in Advanced parameters > Performance
  5. Hello I got this error today because i typed by mistake $this->renderForm() in my own controller renderForm() method, instead of parent::renderForm(), so i got infinite loop. Maybe you have the same kind of error using a displayForm or any method displaying content?
  6. Bonjour, J'ai un problème lors de l'ajout d'un menu dans l'admin de prestashop. En effet, lorsque je créé l'onglet via 'Administration' -> 'Menus', celui-ci n’apparaît pas dans le menu horizontal. J'ai aussi tenté la création de l'onglet via la fonction install() de mon module, mais l'onglet ne s'affiche toujours pas. Quelqu'un peut-il m'éclairer ? Je suis sous prestashop 1.5.3 Merci d'avance! Edit: Après installation du module 1-Click autoupgrade, je peux maintenant voir mes onglets créés seulement dans la partie Configuration de autoupgrade, lorsque je change de page, mes onglets disparaissent à nouveau. Une idée? Merci Edit2: Finalement c'était tout bête. Il fallait créer un autre menu ayant pour parent le nouveau menu pour que celui-ci s'affiche... Pour ce qui était de l'affichage avec le module autoupgrade, c'est parcequ'il gère lui même l'affichage des menus via AdminSelfTab
  7. Hi everyone, I'm new to prestashop and i find this forum very useful. I tried the above method of moving the slider from the hook Home to the hook Top, but it was not satisfying since the hook top is in the div #header and i wanted to move the slider between the div #header and the div #columns. To match this, i put the addJS and addCSS lines to hookDisplayHome() and then called homeslider.tpl in my displayCustomhook() function. Then in the backoffice, i had to attach the module both to DisplayHome hook (for the JS/CSS to be inserted) and to my DisplayCustomhook() (for the tpl to be displayed). Since my website is offline, i can only copy/paste part of code. My customed hook is named 'displayCarousel'. header.tpl: <div id="header" class="grid_9 alpha omega"> {hook h='displayLienspermanents'} <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right" class="grid_6 omega"> {$HOOK_TOP} </div> </div> <div id="carouselHome" class="grid_5"> {hook h='displayCarousel'} </div> <div id="columns" class="grid_9 alpha omega clearfix"> <!-- Left --> .......... (original ps code after) file homeslider.php : (don't forget the registerHook('displayCarousel') in the install method) public function hookDisplayHome() { if(!$this->_prepareHook()) return; // Check if not a mobile theme if ($this->context->getMobileDevice() != false) return false; $this->context->controller->addJS($this->_path.'js/jquery.bxSlider.min.js'); $this->context->controller->addCSS($this->_path.'bx_styles.css'); $this->context->controller->addJS($this->_path.'js/homeslider.js'); // return $this->display(__FILE__, 'homeslider.tpl'); // <-- remove or comment this line } public function hookDisplayTop() { return $this->hookDisplayHome(); } public function hookDisplayCarousel() { return $this->display(__FILE__, 'homeslider.tpl'); } If that helps...
×
×
  • Create New...