Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Code in iFrame
I have a Page Manager page with this code that works...
And on the same Page Manager page, but in a php page within an iFrame it doesn't work.
I tried making $Whoisit global but no joy. What gives?
<?php
if ($this->Context->Session->UserID == 0) {
$Whoisit = "Guest";
} else {
$Whoisit = $this->Context->Session->User->Name;
}
?>
And on the same Page Manager page, but in a php page within an iFrame it doesn't work.
I tried making $Whoisit global but no joy. What gives?
Posted: Thursday, 12 April 2007 at 4:15PM
0
This discussion has been closed.
Comments
<?php include("../../appg/settings.php"); include("../../appg/init_vanilla.php"); ?>
Posted: Friday, 13 April 2007 at 7:24AM