PDA

View Full Version : Additional Page's



SpookedOut
04-12-07, 05:53 PM
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

Adam
04-14-07, 01:16 AM
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