Page 1 of 1

[SOLVED] Need Guidance with popup Javascript Code

Posted: Mon Apr 15, 2013 4:33 pm
by niki
Hi Guys,

I need your help. My company is doing a Fetchback campaign and for the life of me I can't figure out exactly how to do what I need to do which on the surface seems insanely simple.

When a person comes to a specific page on our site (after clicking on a retargeting banner ad somewhere external to our site), it makes them have to enter their zip code. That's it. The dialog box is the part that's escaping me right now. ???

I'm searching. I'm searching. Reviewing. Surfing. Searching.
What am I missing? I think I'm looking for something to do with "inlinepopups". If so, I see the plugin. Now what? (sorry in advance) :-[

Am I creating a UDT? If so, what's the code that I enter?

I'm trying find the solution myself, but a lot of time when I come across a post that appears helpful and I click on certain links, I get the 401 page error. For example:
pixelita wrote: Post subject: Trying to use UDT "Popup" but it's throwing Smarty errors.Posted: Mon Apr 30, 2012

I am not sure if this is the right forum for this. I am trying to use a code snippet found here:
http://wiki.cmsmadesimple.org/index.php ... pt_code.29

It's a popup box with inline javascript. I copied the supplied contents for the UDT, created the UDT entitled 'popup,' and put this code in my template where I wanted the popup link, all per the instructions:

Code: Select all

<div id="email"><h3>Subscribe To Our Newsletter!</h3>
<p class="email">{popup url='newsletter-signup' width=480, height=320}</p>
</div>
The page I am referencing, 'newsletter-signup' has also been created; it is using a bare bones template, and here is the content of that page [it's a really badly formatted HTML Mailchimp template, BTW]
Help!! And thank YOU in advance! :)

Please copy and paste this selected text into your forum posting

----------------------------------------------

Cms Version: 1.5.2 Yes. 1.5.2! ::) Don't ask. ;)

Installed Modules:

CMSMailer: 1.73.14
FileManager: 0.4.3
MenuManager: 1.5.3
ModuleManager: 1.2.1
News: 2.9.2
nuSOAP: 1.0.1
Printing: 0.2.6
Search: 1.5.2
ThemeManager: 1.0.8
TinyMCE: 2.4.11
Cataloger: 0.7
ShopMadeSimple: 0.2.1
CGExtensions: 1.15
Album: 0.9.3
CGExtensions: 1.15
CGSimpleSmarty: 1.4
Products: 2.2.3
CompanyDirectory: 1.1.6
FormBuilder: 0.5.11
LightBox: 1.0.1
Comments: 1.9.2
NMS: 2.2.2
CGGoogleMaps: 1.2
FormBrowser: 0.2.3
PHPMyAdmin: 2.8.2-1
AkismetCheck: 0.2.1
Captcha: 0.4
FrontEndUsers: 1.6.5
SelfRegistration: 1.2.3
CustomContent: 1.5.3
MovieLibrary: 2.0.0
CGFeedMaker: 1.0.6
CGBlog: 1.2
Cart: 1.4.1
Orders: 1.2.4
Jobs: 1.0

Config Information:

php_memory_limit:
process_whole_template: true
max_upload_size: 500000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false

Php Information:

phpversion: 5.3.9
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 128M
max_execution_time: 600
safe_mode: Off (False)
session_save_path: /tmp (1777)

Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.96

----------------------------------------------

Re: Need Guidance with popup Javascript Code

Posted: Mon Apr 15, 2013 6:10 pm
by Jo Morg
I had already replied in your previous post...

Re: Need Guidance with popup Javascript Code

Posted: Mon Apr 15, 2013 6:46 pm
by niki
Thank you. I will check it out.
=========================
I still can't find what I need. I think I'm just out of luck due to the fact that I'm still using version 1.5.2. There seems to be a disconnect between the up to date documentation and my CMSMS module. Or perhaps the disconnect is just in my brain. :-[

I have no idea what to do to get a popup working.

Re: Need Guidance with popup Javascript Code

Posted: Tue Apr 16, 2013 6:50 pm
by niki
4-16-13 Still Need Help - But got 1 step further in figuring this out. Is there a way to Search Documentation other than the Search box in the header of the Documentation Page? Can't seem to find any information on creating popup windows in CMSMS.

I figured out where...
Image,

now I just need to know how.


THANKS AGAIN!

Re: [SOLVED] Need Guidance with popup Javascript Code

Posted: Wed Apr 24, 2013 7:38 pm
by niki
(ditto here)
Jo, you're my hero. I owe ya! Cerveja e vinho é o meu prazer! ;)