[thelist] Joomla/iFrame question

Bob Meetin bobm at dottedi.biz
Sat Mar 22 09:55:42 CDT 2008


I don't know if this helps, but with my joomla sites I installed the 
'jumi'  (mod_jumi_1_10.zip) module and mambot (plugin_jumi_1_01.zip).  
With the mambot you can run scripts within a regular content page.  You 
can pass variables into a script as well, for instance if you want to 
make sure someone is logged in before running a script.  If you need I 
can get you an example.  -Bob

Pringle, Ron wrote:
> Hi all. Hoping there might be some people who have had some decent experience with Joomla who may be able to point me in the right direction.
>
> I have a Joomla 1.5 site for a non-profit set up and running. I am attempting to integrate Pommo, an open source php/mySql based mailing list application, into the site.
>
> I'm using Joomla's wrapper functionality to pull in the subscriber pages via iFrames. That works fine. Part of Pommo's functionality includes sending an email verification to a user when they sign up or want to change their information after signing up. A link is embedded in the email which includes variables in the following format:
>
> http://siteurl.com?email=xxx@xxx.com&code=12345
>
> I've changed the url so that it points to the appropriate page within Joomla which calls the iFrame page. My problem is in trying to pass those variables from the URL string to the iFrame. Currently, the iFrame just ignores them and loads the default page.
>
> I've tried modifying the URL that Joomla uses to load the iFrame as below:
>
> http://siteurl/user/update.php?<?php echo $_SERVER['QUERY_STRING'] ?>
>
> and
>
> http://siteurl/user/update.php?<?php echo $_GET['email']?>&<?php echo $_GET['code']?>
>
> Neither seems to pass the variables on to the iFrame.
>
> Within Joomla, there is no way to add custom code on the page calling the iFrame, so I can't embed any javascript or PHP code to pass those vars to the iFrame.
>
> Am I just not doing things correctly in the URL string? Is there some better way of doing this? I've googled this to death and most everything references embedding javascript or a hidden form to pass the vars on to the iFrame, which isn't an option for me.
>
> Any ideas at all would be greatly appreciated.
>
> Regards, Ron
>   




More information about the thelist mailing list