SpookedOut Posted April 12, 2007 Share Posted April 12, 2007 Hey Im pritty much new here! But by the by I was wondering and Im also pritty certain this can be done. I've started a forum on my website for customers etc, is it possible to create a shortcut from the WHMCS page like the server status, client login, domain checker etc.?? I'm aware of this <?php require("dbconnect.php"); require("includes/functions.php"); $pagetitle = $_LANG['clientareatitle']; $pageicon = "images/support/clientarea.gif"; $breadcrumbnav=''.$_LANG['globalsystemname'].''; require("init.php"); if ($_SESSION['loggedinstatus']=="true") { # User is Logged In - put any code you like here } # Define the template filename to be used without the .tpl extension $templatefile = "homepage"; /* To assign variables in Smarty use the following syntax. $smarty->assign('variablename', $value); This can then be used as {$variablename} in the template */ include("display.php"); ?> Also does any1 have an example of this in action?? Tom 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 14, 2007 Share Posted April 14, 2007 Hey, For shortcuts, just edit the template you do NOT need to make a new page for shortcuts. Just edit the /templates/ folder and add the link. From, Adam 0 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.