Jump to content

SPM modules

Members
  • Posts

    14
  • Joined

  • Last visited

6 Followers

About SPM modules

  • Birthday 09/11/1973

Profile Information

  • Location
    Belarus
  • Interests
    Prestashop modules
  • Activity
    Freelancer

Recent Profile Visitors

16,686,317 profile views

SPM modules's Achievements

Newbie

Newbie (1/14)

46

Reputation

  1. Hi Yes, module must be compatible with any prestashop theme, because module does not contains core modifications Yes, you can modify the layout. Best Regards
  2. I just say about a problem that exists. Yes, I also can write php code: endless cycle, but problem not in this
  3. Yes, if module free - support is not provided ) Maybe my module will suit you (this is not advertising) Blog PRO: https://addons.prestashop.com/en/blog-forum-new/3748-blog-pro.html
  4. Maybe this problem related with smart blog. Module always set HTTPS in own URLs, because module incorrectly detect HTTPS Contact with developer of the module, if its paid module
  5. I known, that ran out of memory. Maybe prestashop team will make tests, because if I develop big module - my module is not approved prestashop team!
  6. Try using this code: <?php class WorkplaceAllController extends ModuleAdminController { public function init() { parent::init(); } public function initContent() { $module_name = 'workplace'; parent::initContent(); if(version_compare(_PS_VERSION_, '1.7', '>')) { $this->setTemplate('module:' . $module_name . '/views/templates/front/all17.tpl'); }else { $this->setTemplate('all.tpl'); } } } For Prestashop 1.6.x.x: template all.tpl located here: /modules/workplace/views/templates/front/all.tpl For Prestashop 1.7.x.x: template all.tpl located here: /modules/workplace/views/templates/front/all17.tpl
  7. Hi For example: 1. Prestashop 1.7.x.x 2. by default in the php.ini memory_limit = 128M 3. Main module file (/modules/mymodule/mymodule.php) mymodule.php > 420kb . For test try using 500kb! 4. go to backoffice -> Improve -> Modules -> Modules & Services and you get: - 500 Internal Server Error OR - Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8960 bytes) This error related ONLY if main module file more than 420kb. (Better for example try using main file more than 500kb). This error related with Parser of the Prestashop 1.7.x.x! Please check it! IMPORTANT: only for Prestashop 1.7.x.x and memory_limit = 128M Best Regards
×
×
  • Create New...