Search the Community
Showing results for tags 'dialog'.
-
Hello guys, I cannot find a way to activate jquery ui on prestashop. I tried some tuts from internet about writing code in the controllers or in the class folder / Main.php. I want to write some custom javascript code and use the dialog function. But I cannot run it. Can you help me guys please. Sorry for my bad english. Regards, g9m29
-
Hallo zusammen Ich habe mal wieder ein Modul entwickelt, welches euren Sale verstärkt Vorteile: verkauf steigern Kunden auf aktion aufmerksam machen Produkte mehr präsent .... Features: Eigener Bildupload Vorlage verwenden und nur text ändern Text als overlay oder nach dem Bild promotion box bleibt zentriert auch beim scrollen verlinkung auf produkte, kategorie usw möglich mittels link anzeige der aktion in einem bestimmten zeitraum Demo Video: Addons Store: http://addons.prestashop.com/en/front-office-features-prestashop-modules/17504-promotion-dialog-box-sale-for-given-time-easy.html Grüße
-
I'm looking to add a dialog box which pops up when you closed the Product Details page in the back office. This is to prevent employees from accidentally exiting a page without saving changes. (The code doesn't check for saved or changed info, just reminds you to save!) I have the code, but have no idea where to add it to make it work. Where in the FTP can i find the right page? This is the code: <script> function goodbye(e) { if(!e) e = window.event; //e.cancelBubble is supported by IE - this will kill the bubbling process. e.cancelBubble = true; e.returnValue = 'Please SAVE before leaving this page'; //This is displayed on the dialog //e.stopPropagation works in Firefox. if (e.stopPropagation) { e.stopPropagation(); e.preventDefault(); } } window.onbeforeunload=goodbye; </script> Thanks. Mark
-
- backoffice
- product
-
(and 1 more)
Tagged with: