BeDedicated Posted December 27, 2007 Share Posted December 27, 2007 Hey Guys, Im wondering if you can help. For some strange reason when i put the default header.tpl there it works all fine and dandy when i put my new customized header it doesnt work properly its annoying me becuase i cant see much differnce. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <title>{$companyname} - {$pagetitle}</title> <link rel="stylesheet" type="text/css" href="templates/{$template}/style11.css" /> </head> <body> <div id="wrap"> <div id="header"> <a href="/" id="logo"><img src="images/logo.png" alt="SpeediHost" width="233" height="50" /></a> <form id="login" method="post" action="myaccount/dologin.php?goto=clientarea"> <strong> </strong> <fieldset> <legend>Login</legend> <strong>My Account Login</strong> <label for="username">Username</label> <input type="text" name="username" id="username" value="Username" onfocus="if(this.value=='Username'){this.value=''};" onblur="if(this.value==''){this.value='Username'};" /> <label for="password">Password</label> <input type="password" name="password" id="password" value="" /> <button type="submit">Login</button> </fieldset> </form> </div> <div id="navigation"> <ul> <li class="current"><a href="index.php">Home</a></li> <li><a href="clientarea.php">Client Area</a></li> <li><a href="supporttickets.php">Support Ticket</a></li> <li><a href="submitticket.php">Submit Ticket</a></li> <li><a href="domainchecker.php">Domain Checker</a></li> <li><a href="#">Affiliates</a></li> <li><a href="cart.php">Order</a></li> </ul> </div> <div id="content"> <div id="breadcrumbs"> <hr /> <p><a href="index.php">Home</a> › <span class="current">Client Area</span> </p> <p class="date"><span style="text-align:right;">{if $loggedin}Welcome {$clientsdetails.firstname}! <a href="logout.php">Logout</a>{else} Welcome please <a href="clientarea.php">Login</a>{/if}</span></p> </div> <div id="left"> {if $loggedin} <dl id="leftnav"> <dt><a href="#">Navigation</a></dt> <dd><a href="#">My Details</a></dd> <dd><a href="#">My Hosting Packages</a></dd> <dd><a href="#">My Products & Services</a></dd> <dd><a href="#">My Domains</a></dd> <dd><a href="#">My Invoices</a></dd> <dd><a href="#">My Support Tickets</a></dd> <dd><a href="#">Emails from SpeediHost</a></dd> </dl> {/if} <form method="post" action="knowledgebase.php?action=search"> <strong>Search Speedi</strong><br /> <img src="images/spacer.gif" width="1" height="5" alt="" /><br /> <select name="searchin" class="navinput" style="width:130px;"> <option value="Knowledgebase">{$LANG.knowledgebasetitle}</option> <option value="Downloads">{$LANG.downloadstitle}</option> </select> <br /> <img src="images/spacer.gif" width="1" height="5" alt="" /><br /> <input name="search" type="text" class="navinput" size="15" /> <input name="submit2" type="submit" class="submitbutton" value="{$LANG.go}" /> </form> </div> 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted December 27, 2007 Share Posted December 27, 2007 What is it doing? Is it showing a blank page? 0 Quote Link to comment Share on other sites More sharing options...
BeDedicated Posted December 27, 2007 Author Share Posted December 27, 2007 http://www.speedihost.co.uk/myaccount 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted December 27, 2007 Share Posted December 27, 2007 This is the one based off of portal right? 0 Quote Link to comment Share on other sites More sharing options...
BeDedicated Posted December 27, 2007 Author Share Posted December 27, 2007 Yes, portal template 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted December 27, 2007 Share Posted December 27, 2007 Ok, Here is the problem <input type="text" name="username" id="username" value="Username" onfocus="if(this.value=='Username'){this.value=''};" onblur="if(this.value==''){this.value='Username'};" /> <label for="password">Password</label> Should actually read <input type="text" name="username" id="username" value="Username" onfocus="if(this.value=='Username')(this.value='');" onblur="if(this.value=='')(this.value='Username');" /> <label for="password">Password</label> The reason for this is because the smarty template system uses {} these type of brackets for the templates. Once it reads this it is unsure what to do. I hope that helps! 0 Quote Link to comment Share on other sites More sharing options...
BeDedicated Posted December 27, 2007 Author Share Posted December 27, 2007 Thanks for that worked perfect:D now i need to sort my style sheets out:p 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.