De Dokta Posted January 27, 2015 Share Posted January 27, 2015 Support Thread for the new content module Modal Info Popup Layer for osCommerce 2.3.4BS Note: This content Module is for the bootstrap version of oscommerce 2.3.4 only! Download Link: http://addons.oscommerce.com/info/9204 If you want your customers to take note of certain informations, there is one way to make them aware by using a popup window or a layer. This contrib uses a bootstrap modal for this purpose. When a customer enters the shop the first time, a info popup layer is once laid over the page - regardless on which site the customer enters the shop. The individual messages can be created via a pop-up manager as plain text, html-text and/or graphics in the admin area.There you can also specify a start and an expiration date for the display of messages. The add-on is designed as content module, which means that no changes to core files (in the frontend) are neccessary. Only in the admin area two files (admin\includes\boxes\tools.php and admin\includes\languages\english.php) must be changed to add a new entry to the tools box. Tested with bootstrap-gold and FF 35, Google Chrome 37.0.2062.124, Opera 26.0 and IE 8. Please report any problems here. J.J. frankl, Tsimi, multimixer and 1 other 4 Quote Link to comment Share on other sites More sharing options...
♥multimixer Posted January 27, 2015 Share Posted January 27, 2015 (edited) Only in the admin area two files (admin\includes\boxes\tools.php and admin\includes\languages\english.php) must be changed to add a new entry to the tools box. No need for that either, you can avoid modifying any file. Create a new (sub)box file + corresponding language file foreach ( $cl_box_groups as &$group ) { if ( $group['heading'] == BOX_HEADING_TOOLS ) { $group['apps'][] = array('code' => 'popup_manager.php', 'title' => MODULES_ADMIN_MENU_TOOLS_POPUP_MANAGER, 'link' => tep_href_link('popup_manager.php')); break; } } Edited January 27, 2015 by multimixer De Dokta 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
De Dokta Posted January 27, 2015 Author Share Posted January 27, 2015 One never stops learning! (w00t) Thank you for that. J.J. Quote Link to comment Share on other sites More sharing options...
♥multimixer Posted January 27, 2015 Share Posted January 27, 2015 2 files less to modify = 0 modifications :thumbsup: Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
De Dokta Posted January 27, 2015 Author Share Posted January 27, 2015 New version uploaded with the changes proposed by multimixer - now no more files must be changed: Upload it to your shop, install it in your admin - done! Many thanks to multimixer for the right tip! (w00t) J.J. Quote Link to comment Share on other sites More sharing options...
♥altoid Posted January 27, 2015 Share Posted January 27, 2015 Add in install Before running, install content module Otherwise...database error De Dokta 1 Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
De Dokta Posted January 27, 2015 Author Share Posted January 27, 2015 Add in install Before running, install content module Otherwise...database error Thanks for the hint. Fixed! Quote Link to comment Share on other sites More sharing options...
tgely Posted January 27, 2015 Share Posted January 27, 2015 popup status has no function. What the problem with SSL? Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
De Dokta Posted January 27, 2015 Author Share Posted January 27, 2015 popup status has no function. What the problem with SSL? Popup status is needed for the schedule and expire function. I found when changing to SSL (e.g. Login) the popup appears in certain browsers again and then it's impossible to login. :wacko: So I disabled the popup in SSL. J.J. Quote Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted January 28, 2015 Share Posted January 28, 2015 Why do you not use the banner function, do the same thing and with only one line ? tep_banner if I remember. Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2015 Share Posted January 28, 2015 Hi JJ Just trying this. After installing in admin then going to online cataloge, is the popup meant to show up each time the site is loaded/refreshed or just once and when the continue button is "clicked" then it kills any future loading. As Ive tried with different banners but only ever got to see the original popup. Hope this makes sense. Cheers grandpa Quote Link to comment Share on other sites More sharing options...
tgely Posted January 28, 2015 Share Posted January 28, 2015 Popup status is needed for the schedule and expire function. I found when changing to SSL (e.g. Login) the popup appears in certain browsers again and then it's impossible to login. :wacko: So I disabled the popup in SSL. J.J. oh yes because recreate session. Cookies would be better Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
De Dokta Posted January 28, 2015 Author Share Posted January 28, 2015 Just trying this. After installing in admin then going to online cataloge, is the popup meant to show up each time the site is loaded/refreshed or just once and when the continue button is "clicked" then it kills any future loading. As Ive tried with different banners but only ever got to see the original popup. Hi John Yes the popup should be displayed only once when a customer for the first time enters the shop. It would be annoying if the message would pop up on every page load or refresh! :x If you have stored different popups activate the one you want to be displayed by clicking the green button on the popup overview page. Only one popup can be active. J.J. Quote Link to comment Share on other sites More sharing options...
rory1 Posted February 4, 2015 Share Posted February 4, 2015 Hi JJ How can i change the width of the popup? i have set a picture for background with html and it is bigger from the popup. Quote Link to comment Share on other sites More sharing options...
De Dokta Posted February 21, 2015 Author Share Posted February 21, 2015 (edited) Hi, add to your user.css a new entry like this: @[member='media'] screen and (min-width: 768px) { body .modal-large { /* new custom width */ width: 750px; } } (or any other width you need) and in includes/modules/content/footer/templates/popup.php change <div class="modal-dialog"> to: <div class="modal-dialog modal-large"> J.J. Edited February 21, 2015 by De Dokta Quote Link to comment Share on other sites More sharing options...
Pelvis Posted August 3, 2016 Share Posted August 3, 2016 Englisch it seems that the Modul don't work any more with the new version of BS Edge. It seems the that you can;t click at an ellemnt of the site. I will Check the files again and come back later. German Es sieht so aus das das Modul nicht mehr kompatible mit den neuesten Dateien von Oscommerce BS Edge ist. Den ganzen Tag hab ich versucht das problem zu finden ...nichts. Man kann auf der Seite nichts Auswahlen, wen man mit der Maus auf klickbaren Sachen drauf geht kann man sie nicht Auswahlen. Es langt nicht das module auf false zu stellen um die Sache zu korrigieren man mus das Modul durch Uninstall entfernen dann lauft alles wieder gut. Werde mich wieder melden will noch mall kontrollieren ob alle Dateien richtig sind. Quote Link to comment Share on other sites More sharing options...
Pelvis Posted August 3, 2016 Share Posted August 3, 2016 Englisch The Problem was in the German Language File: Catalog/includes/languages/german/modules/content/footer/cm_footer_popup.php Find this: ------------- <?php <?php define('MODULE_CONTENT_FOOTER_POPUP_TITLE', 'Info Popup'); define('MODULE_CONTENT_FOOTER_POPUP_DESCRIPTION', 'Das Info Popup hinzufügen'); ------------- and Replace with this: ------------- <?php define('MODULE_CONTENT_FOOTER_POPUP_TITLE', 'Info Popup'); define('MODULE_CONTENT_FOOTER_POPUP_DESCRIPTION', 'Das Info Popup hinzufügen'); ------------- German Das problem lag in der Deutschen Sprachen datei: Catalog/includes/languages/german/modules/content/footer/cm_footer_popup.php Stadt dies (was die Fehlfunktion verursacht) ------------- <?php <?php define('MODULE_CONTENT_FOOTER_POPUP_TITLE', 'Info Popup'); define('MODULE_CONTENT_FOOTER_POPUP_DESCRIPTION', 'Das Info Popup hinzufügen'); ------------- soll man mit dieses ersetzen: ------------- <?php define('MODULE_CONTENT_FOOTER_POPUP_TITLE', 'Info Popup'); define('MODULE_CONTENT_FOOTER_POPUP_DESCRIPTION', 'Das Info Popup hinzufügen'); ------------- Der Fehler war der zweite "<?php" Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted September 29, 2016 Share Posted September 29, 2016 Hi, Please could you help to know which addon for Modal Shopping Cart will be perfect and suitable to work for 2.3.4 standard..... Regards/ Rdahavallabh Quote Link to comment Share on other sites More sharing options...
ecommunlimited Posted September 30, 2016 Share Posted September 30, 2016 (edited) Earlier you stated: "I found when changing to SSL (e.g. Login) the popup appears in certain browsers again and then it's impossible to login. So I disabled the popup in SSL." How can I use this if I run a full SSL shop front and back? I can't even see the popup. I know it's trying to popup. When I test on pingdom.com it shows in the file requests, but it won't show for me. Is there a work around for this? @@Gergely Modal Cart works perfect for me. He doesn't have this in his: if (($_SERVER['HTTPS'] !== 'off') && (!tep_session_is_registered('popup'))) { ?> Bill Edited September 30, 2016 by ecommunlimited Quote Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2016 Share Posted November 28, 2016 @@ecommunlimited Earlier you stated: "I found when changing to SSL (e.g. Login) the popup appears in certain browsers again and then it's impossible to login. So I disabled the popup in SSL." How can I use this if I run a full SSL shop front and back? I can't even see the popup. I know it's trying to popup. When I test on pingdom.com it shows in the file requests, but it won't show for me. Is there a work around for this? @@Gergely Modal Cart works perfect for me. He doesn't have this in his: if (($_SERVER['HTTPS'] !== 'off') && (!tep_session_is_registered('popup'))) { ?> Bill Did you ever get this sorted. I also now run site full SSL but modal doesn't work. Cheers Grandpa Quote Link to comment Share on other sites More sharing options...
ecommunlimited Posted November 28, 2016 Share Posted November 28, 2016 @@grandpaj No sir, I did not. I tried several things and nothing worked. The creator of this thread chose not to respond. Take care Bill Quote Link to comment Share on other sites More sharing options...
burt Posted November 28, 2016 Share Posted November 28, 2016 creator of this thread chose not to respond De Dokta is sadly no longer with us. http://www.oscommerce.com/forums/topic/409290-rip-de-dokta/ Quote Link to comment Share on other sites More sharing options...
ecommunlimited Posted November 28, 2016 Share Posted November 28, 2016 @@burt I was unaware of that Mr. Burton. I did not mean that in an offensive way. I hope you understand. Quote Link to comment Share on other sites More sharing options...
burt Posted November 28, 2016 Share Posted November 28, 2016 Oh of course, I understand there was no offence meant and none was taken by anyone, I'd hope. De Dokta's passing and especially Joli's passing made me more aware of internet-mortality. How would we all know if you or I or anyone else reading this today, sadly is no longer with us tomorrow? It's just another name that used to be on a Forum, is no longer on the Forum. ecommunlimited, Tsimi and multimixer 3 Quote Link to comment Share on other sites More sharing options...
♥John W Posted November 30, 2016 Share Posted November 30, 2016 I didn't know about either one of them passing until just now, and it makes me sad. It's weird because people come and go, but you don't think they died and that's why they're gone. On the other hand, for some people that are ill and home bound, this forum and friendships can be a source of happiness. Quote I'm not really a dog. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.