runninghorse Posted January 30, 2005 Share Posted January 30, 2005 I've got Dada installed and working great (so far) and am using it inside a ShowHTML mod for my cms portal. Everything is working how I'd like, I have a little subscribe/unsubscribe form right on the front page of the portal and that works great. The problem I'm running into is this. I am trying to use Dada inside an iframe structure (this ShowHTML mod, which was made for the portal I use to be able to display non-portal based pages inside the portal frame seamlessly). So far so good... if linked directly from my ShowHTML mod. So for instance, I created the Dada page at http://www.runninghorses.net/cgi-bin/dada/mail.cgi. Then thru the ShowHTML mod, I go in and have the portal "point" to the Dada page. I give it an identifier (dada-main), and the new link to the Dada page becomes http://www.runninghorses.net/cgi-bin/mods/...pl?id=dada-main ... which is fine for once you're AT the website and/or you've linked into the Dada page via that link, because it pulls up the surrounding cms/portal frameset. However, when you signup or want to edit options or anything on Dada, and also the link for the double opt-in confirmation email takes you to http://www.runninghorses.net/cgi-bin/dada/...=USER@EMAIL.COM (etc, etc) and therefore does NOT pull up the website the correct way. What I need to have happen is to have the [list_subscribe_link] base be the http://www.runninghorses.net/cgi-bin/mods/...pl?id=dada-main and have the user email stuff populate there. Is that possible? I didn't know how to do it because of the parsing of the email address from the confirmation link. Or to possibly work around the confirmation link. Any ideas? Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted January 30, 2005 Share Posted January 30, 2005 Since Iframes do not always work as expected in some browsers, why not just switch to a normal frame set. thats what I did and have no problems. Whoops I re-read and see you are using a portal. Still it should work. Did you set up the path in the Config.pm file? $PROGRAM_URL ='http://www.changetoyoursite.com/cgi-bin/dada/mail.cgi'; Just a thought. Quote Link to comment Share on other sites More sharing options...
runninghorse Posted January 31, 2005 Author Share Posted January 31, 2005 Yeah, welp, I'm not having much luck... Where do I find the variables list_subscribe_link and list_unsubscribe_link ...? I think that if I can edit the base url for these 2 links only, this might work. The problem is not it actually working in the iframe. That's fine, as long as they access it using the portal link, not the dadamail link. In the confirmation emails, or any emails, where it says "click here to unsubscribe" etc, it's THAT link I'm having the problem with. I want THAT link to open my portal with the dadamail inside. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted January 31, 2005 Share Posted January 31, 2005 Why not use a redirect in your .htaccess file? Quote 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.