Home Page Pop-Up Window/Message

Permalink
I am working on a current website project using Concrete and my client wants the Home Page to have a pop-up window that display everytime the user visits the home page... The pop-up window will be used for a small email list subscribe form/function, as well as any of messages or displays as they want to change it out.

I've attached an example of what I need to accomplish and any input or guidance would be much appreciated. I have looked at available Blocks in Concrete as well as the Add-Ons, and didn't see anything. But maybe I overlooked something.

Thanks... tga

1 Attachment

tgadams11
 
jordanlev replied on at Permalink Reply
jordanlev
If you know how to build this kind of thing in plain old javascript and HTML, just do that and put the js in your theme's <head>. You could use some conditional code like this so that it only runs on your home page:
<?php if ($c->getCollectionID() == HOME_CID): ?>
  <script type="text/javascript">
    //put your code here -- it will only run on the home page
  </script>
<?php endif; ?>


Or if you are looking for a marketplace block that does it, perhaps one of these will work:
http://www.concrete5.org/marketplace/addons/popup-pro/...
http://www.concrete5.org/marketplace/addons/popup/...
tgadams11 replied on at Permalink Reply
tgadams11
Thanks for the response Jordanlev!... I am not much of a background coder and more of a front-end designer... so I checked out both of the add-ons you mentioned... the Pop-Up Pro seems to fit the bill.

Hope it works... Thanks again!