Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Free Addon: Info Popup for customers Rate Topic   * * * * * 2 votes

 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 235 posts

Posted 04 June 2013 - 05:27 PM #41

this is great addon.
i have made a form for subscription to newsletter.Works perfect!
The only problem is that when someone enter his email and press the 'go' button of the form the cookie is not saved and the popup still appears.
Is there a way to save the cookie when someone enter his email and press go to subscribe to newsletters?

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 04 June 2013 - 06:44 PM #42

Hi @akistdm,
You can add to form tag
<form onsubmit="$.cookie.set('popup_info', 1, '', '/');" >

I hope that helps,

---
Valentin

 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 235 posts

Posted 04 June 2013 - 07:50 PM #43

sorry but i can't make it to work.
this is the form code. I took it as it was from the bottom menu of my site.

<form name="subscribe_form" method="post" action="">
<input type="hidden" value="index.php" name="redirect_url">
<div class="newsletter">
   <p style="margin-bottom:5px"> {$lang.text_signup_for_subscriptions}! </p>
   <input type="hidden" value="2" name="newsletter_format" id="newsletter_format139">
   <input type="hidden" value="1" name="mailing_lists[1]" id="mailing_list_1391">
   <input type="text" class="input-text cm-hint" style="width:175px;" value="{$lang.enter_email}" id="subscr_email139" name="hint_subscribe_email">
   <p class="submit" style="margin-top:5px"> <input type="submit" name="submit" value="{$lang.go}" class="button" /></p>
   <input type="hidden" value="newsletters.add_subscriber" name="dispatch"></div>


 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 05 June 2013 - 12:07 AM #44


<form name="subscribe_form" method="post" action="" onsubmit="$.cookie.set('popup_info', 1, '', '/');">

<input type="hidden" value="index.php" name="redirect_url">

<div class="newsletter">

   <p style="margin-bottom:5px"> {$lang.text_signup_for_subscriptions}! </p>

   <input type="hidden" value="2" name="newsletter_format" id="newsletter_format139">

   <input type="hidden" value="1" name="mailing_lists[1]" id="mailing_list_1391">

   <input type="text" class="input-text cm-hint" style="width:175px;" value="{$lang.enter_email}" id="subscr_email139" name="hint_subscribe_email">

   <p class="submit" style="margin-top:5px"> <input type="submit" name="submit" value="{$lang.go}" class="button" /></p>

   <input type="hidden" value="newsletters.add_subscriber" name="dispatch"></div>



 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 235 posts

Posted 05 June 2013 - 09:53 PM #45

You are a genius!
thanks!

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 07 June 2013 - 11:26 AM #46

Thank you and you're welcome

 
  • goodget
  • Newbie
  • Trial users
  • Join Date: 03-Dec 12
  • 6 posts

Posted 16 June 2013 - 06:46 PM #47

Dear Vali,

thanks a lot for sharing this addon. It is very nice!

I would like to use phplist to generate a newsleter form, is it possible?

I think it is, but how could use your "OK" botton to submit the form, appear confirmation message in this popup window, stay for a while and then close?


Thanks a lot for your answer

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 18 June 2013 - 12:58 PM #48

@goodget please ask @akistdm to share his link and see how he do it ;)

 

Posted 28 June 2013 - 05:23 PM #49

Thanks
nice addon.

"adminpanel.php?dispatch=banners.update&banner_id=20"

I put this code in the checkout.tpl because I want that the people see a message showing a offers.
It show the pop-up but not show the message of the text banner.



{* $Id$ *}

{script src="js/exceptions.js"}
{script src="js/cc_validator.js"}

{literal}
<script>
$(function() {
if($.cookie.get('popup_info') == 1)
{
$( "#dialog-message" ).dialog({ modal: true, buttons: { Ok: function() { $( this ).dialog( "close" ); $.cookie.set('popup_info', 1); }}});
}
});
</script>
{/literal}
{strip}{assign var="banner" value=$addons.popup_info.banner_id|fn_get_banner_data}{/strip}
<div id="dialog-message" class="hidden" title="{$banner.banner}"><div style=" padding:10px">{$banner.description}</div></div>

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 01 July 2013 - 06:54 AM #50

Please PM the url to check,
You can also add direct the banner_id

replace:
{assign var="banner" value=$addons.popup_info.banner_id|fn_get_banner_data}

with:
{assign var="banner" value=20|fn_get_banner_data}

I hope that helps,

---
Valentin

 
  • loadedamos
  • Newbie
  • Members
  • Join Date: 04-Jul 13
  • 2 posts

Posted 04 July 2013 - 07:18 AM #51

Hello Vali,

Warm greetings.

I installed the popup_info add on to my site


But i did not like the way it appeared on my site so i uninstalled it and deleted the files from my server.

But my store front is still showing the popup info whenever my site loads. I have attached the a print screen of the error image showing on my site.

www.christembassydigitalmedia.com/naira/

Kindly help resolve this.

Thank you

Amos

Attached Files



 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 04 July 2013 - 07:35 AM #52

Hi Amos,
Please clear cache ?cc
Please delete folder popup_info manual addon files from skins/basic/customer/addons/
because your site is in developer mode and on uninstall addons he doesn't delete addon folder from skin ;)

Please check also analytic addon the code is on top of head and in the bottom is missing code, maybe you did the same with analytics ;)

---
Valentin

 
  • loadedamos
  • Newbie
  • Members
  • Join Date: 04-Jul 13
  • 2 posts

Posted 05 July 2013 - 02:39 PM #53

Dear Valetine,

Thanks so much this has been resolved.

 
  • Onkel_Sid
  • Junior Member
  • Members
  • Join Date: 04-Sep 10
  • 301 posts

Posted 11 July 2013 - 08:51 PM #54

This is a great add-on.

I was just wondering if it possible to get the popup to appear on a specific page like for example the cart-page or the checkout-page, instead of popping up on the first page that the customer visits?

Stop smoking start vaping: Dampskyen.no


 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 12 July 2013 - 06:17 AM #55

I'm working on this and also more features and i will share with you soon as is done

 

Posted 18 July 2013 - 02:21 PM #56

Great job Vali. Could you explain how to:

1. Remove the OK button OR remove the X at the top-right corner - no need for both.
2. Remove the drag-out corner at the bottom-right corner - already have a size variable.

Thanks!
Web development in progress with CS-Cart 3.x

 
  • globalburo
  • Junior Member
  • Members
  • Join Date: 16-Mar 11
  • 138 posts

Posted 19 July 2013 - 07:36 AM #57

Heloo vali
This is a great add-on.
This work with 4.0.1 ?

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 19 July 2013 - 07:40 AM #58

I'm working on this and also more features and i will share with you soon as is done

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1249 posts

Posted 14 August 2013 - 08:00 AM #59

Update for 4.0.1 is now available and can be downloaded from here .

---
Valentin
part of hungryweb.net

 

Posted 14 August 2013 - 05:55 PM #60

Vali any chance you had time to consider my suggestions 4 comments up?

http://forum.cs-cart...post__p__165522

Thanks!
Web development in progress with CS-Cart 3.x