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.
Ive created my new tab.. created my blank page.. now how do I put anything in it??
Ok so I needed an extra tab which when opened displays a page containing an iFrame. In this iFrame I will be able to easily drop in some links to a bunch of PDF files... Ive created my new tab no problem using HomeTab extension, created a new page using bits of code from the search.php, but how do I drop in the iFrame code?? Could really do with pointing in the right direction here girls n boys. Here is my new page code:: <?php include("appg/settings.php"); include("appg/init_internal.php"); // 1. DEFINE VARIABLES AND PROPERTIES SPECIFIC TO THIS PAGE // Ensure the user is allowed to view this page $Context->Session->Check(agSAFE_REDIRECT); if (!agUSE_CATEGORIES) header("location: index.php"); // Define properties of the page controls that are specific to this page $Menu->CurrentTab = "Downloads"; $Panel->CssClass = "Downloads"; $Body->CssClass = "Downloads"; // 2. CONTENT // Iframe needs to be in the body, here I guess? // 3. ADD CONTROLS $Page->AddControl("Head_Render", $Head); $Page->AddControl("Menu_Render", $Menu); $Page->AddControl("Panel_Render", $Panel); $Page->AddControl("Body_Render", $Body); $Page->FireEvents(); ?>
This discussion has been closed.