[SOLVED] Moving to Proper Board

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
niki
Forum Members
Forum Members
Posts: 21
Joined: Thu Feb 21, 2013 3:24 pm

[SOLVED] Moving to Proper Board

Post 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. ???

Thank you very much, in advance.
Last edited by niki on Wed Apr 24, 2013 7:31 pm, edited 3 times in total.
niki
Forum Members
Forum Members
Posts: 21
Joined: Thu Feb 21, 2013 3:24 pm

Re: Need Guidance with creating Dialog Box to Enter Zip Code

Post by niki »

Oh boy. I'm in trouble. I thought this was an easy one. Maybe too easy and I should figure it out on my own?

Ok. Thank you. ;D
niki
Forum Members
Forum Members
Posts: 21
Joined: Thu Feb 21, 2013 3:24 pm

Re: Need Guidance with creating Dialog Box to Enter Zip Code

Post by niki »

Ok. 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! :)
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Need Guidance with popup Javascript Code

Post by Jo Morg »

The wiki has been dropped in favor of the Docs site. Better organized but some of the original wiki data wasn't up to date and didn't get through.
However I can point out that an UDT will only accept PHP code, whereas a GCB can have a mix of HTML/Smarty/Javasript.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
niki
Forum Members
Forum Members
Posts: 21
Joined: Thu Feb 21, 2013 3:24 pm

Re: [SOLVED] Moving to Proper Board

Post by niki »

Jo you're my hero. I owe ya! Cerveja e vinho é o meu prazer! ;)
Post Reply

Return to “The Lounge”