Jump to content

Luca01

Members
  • Posts

    790
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    Germany
  • Activity
    User/Merchant

Recent Profile Visitors

14,752,376 profile views

Luca01's Achievements

  1. Hallo Whiley, dankeschön. 😀 Ich hoffe alles ist gut soweit. ich habe gerade gesehen, dass meine Mailadresse etwas veraltet war. :/
  2. Hallo, danke für Eure Rückmeldungen. Ich habe festgestellt, dass ich meine Einstellungen und Daten mal aktualisieren muss. ich habe nämich nicht mitbekommen, dass jemand geantwortet hat. Bin wohl ein bisschen verpeilt. Egel, ich habe den sql in meinem DHL-Modul so angepasst, dass er jetzt die csv-Struktur von GLS bedient. Das passt so ganz gut und keiner muss sich umgewöhnen. Danke für Eure schnellen Antworten. Ich schaue mir die Module auf jeden Fall mal an. Auf Dauer ist das selber coden etwas aufwendig. Viele Grüße
  3. Hallo Leute, ich suche ein GLS Versandmodul für Deutschland. Kennt Ihr ein gutes Modul oder könnt eines empfehlen. Meine Shopversion ist 1.7.3.4. Da ich ziemlich an den Scripten arbeite sollte es nicht zu weit ins System eingreifen. Viele Grüße
  4. Ja, funktioniert. Lösch vielleicht mal Deinen Browser-Cache.
  5. Hallo, die Shopversion findest Du z.B. auch auf der Login Seite des Adminbereichs. Schau vielleicht auch mal unter "Erweiterte Einstellungen" -> Informationen. Manchmal gibt es dort, neben der Shopversion, noch andere wichtige Infos was nicht geht oder wo Benutzerrechte falsch gesetzt sind.
  6. Hallo, habe es gemacht und rate ab. Das im Umlauf befindliche One-Click-Update-Modul, dass das kann ist nicht mal beta. Mein Shop ist mir um die Ohren geflogen, und dass, obwohl ich ihne auf Standard-Theme zurück gesetzt habe und die Overrides rausnahm. Es gibt einfach zu viele Unterschiede. Ich würde zu Export / Import raten oder jemanden bezahlen, der das kann. Ist ja auch eine Frage der Zeit.
  7. Hallo, die Antworten würden mich auch interessieren. Es scheint auch bei mir mit der PayPal-Anbindung defusen Ärger zu geben. Habe deswegen an den Modul-Support geschrieben. Ich hatte aber auch Schwierigkeiten mit der Schnittstelle. Bei mir lag es an der 301 Weiterleitung der SEO-friendly-Urls in der htaccess. Wichtig wäre, welche Shopversion Du verwendest und wie, mit welchem Modul, Du PayPal-Plus anbietest. Es gibt hier zumindest für 1.7. das kostenpflichtige Modul und das offizielle Modul von PayPal. Bei mir läuft das offizielle Modul. Viele Grüße
  8. Hallo Foris, ich bastel ein bisschen rum und dabei habe ich einen Override für den AdminLoginController.php gebaut. Die kleine Ergänzung veschickt eine Mail an die Shop-Mailadresse wenn sich jemand in das Backoffice einloggt. Und hier ... is'a <?php /** * eMail bei Login ins Backoffice * * @category Admincontroller * @author Luca * @support Luca * @copyright 2018 Luca * @version 1.0.0 * @link https://www.holzladen24.de * @license open source */ class AdminLoginController extends AdminLoginControllerCore { public function processLogin() { /* Check fields validity */ $passwd = trim(Tools::getValue('passwd')); $email = trim(Tools::getValue('email')); /*Anfang --- E-Mail an mich wenn sich jemand einloggt*/ $id_shop = Context::getContext()->shop->id; $vars = array( '{firstname}' => (string) Configuration::get('PS_SHOP_NAME', null, null, $id_shop).' gerade hat sich ', '{lastname}' => $email.' eingeloggt', '{reply}' => 'Es ist '.date('d.m.Y H:i:s').' und '.$email.' hat sich ins Backoffice eingeloggt.', '{link}' => $email, ); $shop_mail = (string) Configuration::get('PS_SHOP_EMAIL', null, null, $id_shop); Mail::Send($this->context->language->id,'reply_msg','BO-Login von '.$email,$vars,$shop_mail,Configuration::get('PS_SHOP_NAME', null, null, $id_shop)); /*Ende --- E-Mail an mich wenn sich jemand einloggt*/ if (empty($email)) { $this->errors[] = $this->trans('Email is empty.', array(), 'Admin.Notifications.Error'); } elseif (!Validate::isEmail($email)) { $this->errors[] = $this->trans('Invalid email address.', array(), 'Admin.Notifications.Error'); } if (empty($passwd)) { $this->errors[] = $this->trans('The password field is blank.', array(), 'Admin.Notifications.Error'); } elseif (!Validate::isPasswd($passwd)) { $this->errors[] = $this->trans('Invalid password.', array(), 'Admin.Notifications.Error'); } if (!count($this->errors)) { // Find employee $this->context->employee = new Employee(); $is_employee_loaded = $this->context->employee->getByEmail($email, $passwd); $employee_associated_shop = $this->context->employee->getAssociatedShops(); if (!$is_employee_loaded) { $this->errors[] = $this->trans('The employee does not exist, or the password provided is incorrect.', array(), 'Admin.Login.Notification'); $this->context->employee->logout(); } elseif (empty($employee_associated_shop) && !$this->context->employee->isSuperAdmin()) { $this->errors[] = $this->trans('This employee does not manage the shop anymore (either the shop has been deleted or permissions have been revoked).', array(), 'Admin.Login.Notification'); $this->context->employee->logout(); } else { PrestaShopLogger::addLog($this->trans('Back office connection from %ip%', array('%ip%' => Tools::getRemoteAddr()), 'Admin.Advparameters.Feature'), 1, null, '', 0, true, (int)$this->context->employee->id); $this->context->employee->remote_addr = (int)ip2long(Tools::getRemoteAddr()); // Update cookie $cookie = Context::getContext()->cookie; $cookie->id_employee = $this->context->employee->id; $cookie->email = $this->context->employee->email; $cookie->profile = $this->context->employee->id_profile; $cookie->passwd = $this->context->employee->passwd; $cookie->remote_addr = $this->context->employee->remote_addr; if (!Tools::getValue('stay_logged_in')) { $cookie->last_activity = time(); } $cookie->write(); // If there is a valid controller name submitted, redirect to it if (isset($_POST['redirect']) && Validate::isControllerName($_POST['redirect'])) { $url = $this->context->link->getAdminLink($_POST['redirect']); } else { $tab = new Tab((int)$this->context->employee->default_tab); $url = $this->context->link->getAdminLink($tab->class_name); } if (Tools::isSubmit('ajax')) { die(json_encode(array('hasErrors' => false, 'redirect' => $url))); } else { $this->redirect_after = $url; } } } if (Tools::isSubmit('ajax')) { die(json_encode(array('hasErrors' => true, 'errors' => $this->errors))); } } } Viele Grüße Luca
  9. Hi, thankyou for reading. Here is a possible solution: <?php class TestyTabsController extends ModuleAdminController { public function __construct() { $this->name = 'testy'; $this->tab = 'front_office_features'; parent::__construct(); Tools::redirectAdmin($this->context->link->getAdminLink('AdminModules', false) .'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name .'&token='.Tools::getAdminTokenLite('AdminModules')); } } regards
  10. Hi, I got this code <?php class TestyTabsController extends ModuleAdminController { private $moduleName = 'testy'; public function __construct() { parent::__construct(); echo Module::getInstanceByName('testy')->getContent(); } } for the admin controller. But it is out of the backoffice design.
  11. Hello developer, I'm trying to understand the modul structure of Prestashop. That's why I created a module after this documentation. Prestashop 1.7 documentation Now I want to include the configuration page in the backoffice menu. The inclusion of a link in the menu, I get out. I can not get the configuration page to show up when I click on the link. Can someone help me to learn this step? With a code as an extension of the example module of the documentation for example? regards luca
  12. Alle meine guten Wünsche begleiten Ihn. Möge er seine Ziele erreichen und seine Träume mögen war werden.
  13. Hi Folks, since 1.6.1.2 stable Prestashop combined with AdvancedEUCompliance (2.0) ignores the country restrictions of payment methods. It's a hard issue for me because there is no way to get a regional payment choice in the checkout prozess. Is there a hack to solve this issue? http://forge.prestashop.com/browse/PSCSX-7473 regards
×
×
  • Create New...