I've found and tried a couple of solutions to this problem, but none of them are working:
What I need is to have the user ID of the currently logged in user to my iframe.
I have attempted to modify the default.php for com_wrapper (both in the core components as well as in the template) as such:
Code: Select all
<iframe <?php echo $this->wrapper->load; ?>
id="blockrandom"
name="iframe"
src="<?php echo $this->wrapper->url."?userid=".$user->id; ?>"
Code: Select all
$user =& JFactory::getUser();
I even placed a comment in each file I file I modified to see which file was actually being used to load the wrapper, ie:
Code: Select all
<!-- comment specifying which file is being loaded -->
<iframe ...
Can anyone help with this? If you need any more details, just ask.
Thanks in advance!