-
Posts
77 -
Joined
-
Last visited
AppleEater's Achievements
Newbie (1/14)
16
Reputation
-
נסה לעבור משיטת Express Checkout במודול לשיטה השניה, ובדוק אם זה עובד. ההודעה היא הודעה שמחזיר המודול של PayPal. כיוון שזה לא מציג את המסך של פייפאל, כנראה שהמודול לא הצילח לקבל את כתובת הדף שאליו יש להפנות את המשתמש.
-
בפרסטה, כשאתה מגדיר יותר ממטבע אחד, אתה יכול להגדיר את שער החליפין בתוך המערכת. יש גם מנגנון בפרסטה שיכול לרוץ באופן יומי ולסנכרן שערי מטבע. בעיקרון אתה מייבא במטבע שבו אתה קונה את הפריטים ודואג להציג את המחירים במטבעות האחרים על פי שער מטבע מסונכרן.
-
הי, הבעיה שלך היא בעיה נפוצה, והיא לא קשורה לעברית, אלא לטעינה של javascript. כנראה שאחד המודולים שהתקנת לאחרונה לא נטען כראוי, ולכן דפי הטעינה של ממשק הניהול לא נטענים כראוי. הייתי ממליץ להפעיל את אופציית ה- debug ולבדוק את הודעות השגיאה.
-
[Help Needed] Helper Form - supporting multi fieldset
AppleEater replied to AppleEater's topic in Core developers
Thank you very much for the answer, but how do connect this to all the variables initilizations? $helper = new HelperForm(); $helper->show_toolbar = false; $helper->table = $this->name; $helper->module = $this; $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); $helper->show_toolbar = false; $helper->module = $this; $helper->default_form_language = $lang->id; $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; $this->fields_form = array(); // Module, token and currentIndex $helper->identifier = $this->identifier; $helper->submit_action = 'btnSubmit'; $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false) .'&configure='.$this->name .'&tab_module='.$this->tab .'&module_name='.$this->name; $helper->token = Tools::getAdminTokenLite('AdminModules'); $helper->tpl_vars = array( 'fields_value' => $this->getConfigFieldsValues(), 'languages' => $this->context->controller->getLanguages(), 'id_language' => $this->context->language->id, 'uri' => $this->getPathUri() ); return $helper->generateForm(array($fields_form));- 3 replies
-
- helper form
- form
-
(and 1 more)
Tagged with:
-
Hi, I've read the http://doc.prestashop.com/display/PS15/HelperForm guide, but couldn't understand if it's possible to add several fieldset tags to one help form. for instance, the equivalence of : <form> <fieldset> <input type="text" id="field1"> <input type="text" id="field2"> </fieldset> <fieldset> <input type="text" id="field3"> <input type="text" id="field4"> </fieldset> </form>
- 3 replies
-
- helper form
- form
-
(and 1 more)
Tagged with:
-
[Solved]Adding JavaScript events to HelperForm
AppleEater replied to AppleEater's topic in Core developers
Apparently when adding a JS script to a module in hook 'hookDisplayBackOfficeHeader', it's being loaded before the jQuery functions, so one can't use the jQuery model. The code I found to work is: document.addEventListener('DOMContentLoaded', function() { // function code // sample code to add listener var test_on = document.getElementById('test_mode_on'); test_on.addEventListener('click',function() { // function code for this listener },false); }, false); -
Hi, How do I add javascript event calls to the input fields in Helper form? I've tried adding 'onchange' => 'function()', but this doesn't seem to render. Is there another way to check events on input fields ? for instance, I'd like to check the checked value of a switch fields, and perform some CSS changes based on this value.
-
bootstrap is working, but not "Boot_strap" (without the "_")
-
שלום, קח את הקטע הבא ושלב אותו בקובץ: \themes\<MY_THEME>\css\rtl.css יש קובצי חיצים שפונים ימינה. יש לשכפל אותם ולהפוך אותם לכיוון שמאל, ואז לקרוא להם בהתאמה בקובץ ה- css. ********************************************************************************************** BLOCKTOPMENU ************************************************************************************************ */ /*** ESSENTIAL STYLES ***/ .sf-right { float: right !important; /* Modified to support RTL */ } .sf-menu li { float: right !important; /* Align menu to right */ } .sf-menu li.sfHover ul { right:0 !important; /* added for RTL support */ left: auto !important; /* added for RTL support */ } ul.sf-menu li li.sfHover ul { right:10em !important; left:auto !important; } /*** DEMO SKIN ***/ .sf-menu { float:right !important; /* supporting RTL menu */ } .sf-menu a { border-left:none !important; } /*** arrows **/ .sf-menu a.sf-with-ul { padding-left: 2.25em !important; padding-right:1em !important; } .sf-sub-indicator { right: auto !important; left: .75em !important; /* Modified to support RTL */ background-image:url('modules/blocktopmenu/img/arrows-ffffff-rtl.png') !important; }
-
module mailalerts - link to order page
AppleEater posted a topic in Configuring and using PrestaShop
Hi, On PS1.5.6.2, using mailalerts module v3.2, how do I add ,in merchant new order notification, a link that will allow him to open the order details page ? -
Thank you. It seems it was permission issue. i modified the files permission in /upload to 664 and problem resolved.
- 2 replies
-
- customizationForm
- images
-
(and 1 more)
Tagged with:
-
Hi, When uploading images using the customizationform, the thumbnail images don't appear in the order. Instead, only empty image forms appear. When I tested it locally - the thumbnails appear properly. Any clue what caused this?
- 2 replies
-
- customizationForm
- images
-
(and 1 more)
Tagged with:
-
PS Mail Templates (out of the box)
AppleEater replied to PrestaHeroes USA's topic in Core developers
I think that for that you'll have to create a set the colors configurations in the mail.php file, like this line: $template_vars['{color}'] = Tools::safeOutput(Configuration::get('PS_MAIL_COLOR', null, null, $id_shop)); All other color are specified in the CSS files of the template, so either you hard code the same colors from the template global.css into the mail template or the mail.php class, or create an module Admin UI where the shop admin defines the mail colors, and you set them in the mail.php, and call them in the mail template. -
PS Mail Templates (out of the box)
AppleEater replied to PrestaHeroes USA's topic in Core developers
Hi El Patron, In Preferences->Themes -> Mail color , you can define the background color of the mail headers. This can be used to control the objects highlight colors in the mail HTML templates, as in the example: <tr> <td align="left">Hi <strong style="color: {color};">{firstname} {lastname}</strong>,</td> </tr>