bigideaguy Posted June 7, 2009 Share Posted June 7, 2009 Ok, i am trying to install a new css header for my whmcs so that it matches the layout i am trying to get for the rest of the site, i am still testing and everything is still very basic, this is not the final design. here is my error: Fatal error: Smarty error: [in portal/header.tpl line 24]: syntax error: unrecognized tag: mainmenuid: "smoothmenu1", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] (Smarty_Compiler.class.php, line 439) in /home/blurple/public_html/secure/libs/Smarty.class.php on line 1095 I have a seperate css file for the header called ddsmoothmenu.css and i even tried putting the code in that into the style.css, but nothing happened. Here is my current section of the header im editing: <!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}" /> {if $systemurl}<base href="{$systemurl}" /> {/if}<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" /> <link rel="stylesheet" type="text/css" href="http://blurple.net/ddsmoothmenu.css" /> <link rel="stylesheet" type="text/css" href="http://blurple.net/ddsmoothmenu-v.css" /> <title>Blurple.net Solutions for Webmasters!</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="http://blurple.net/ddsmoothmenu.js"> /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> <script type="text/javascript"> ddsmoothmenu.init({ mainmenuid: "smoothmenu1", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) ddsmoothmenu.init({ mainmenuid: "smoothmenu2", //Menu DIV id orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu-v', //class added to menu's outer DIV //customtheme: ["#804000", "#482400"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) </script> </head> <body> <table align="center" cellpadding="0" cellspacing="0" background="https://secure.blurple.net/images/white.gif"> <tr><td> <div align="center"> <table bgcolor="#9966FF" width="100%"><tr><td><img src="blurplelogo.jpg" width="247" height="82" alt="Blurple.net" /></td></tr></table> <div id="smoothmenu1" class="ddsmoothmenu"> <ul> <li><a href="http://www.blurple.net/">Home</a></li> <li><a href="http://blurple.net/hostinginfo.html">Hosting</a> <ul> <li><a href="http://blurple.net/standardhosting.html">Standard</a></li> <li><a href="http://blurple.net/reseller.html">Reseller</a></li> <li><a href="http://blurple.net/virtualprivateservers.html">VPS</a></li> <li><a href="http://blurple.net/dedicatedhosting.html">Dedicated</a></li> </ul> </li> <li><a href="http://blurple.net/services.html">Services</a> <ul> <li><a href="http://blurple.net/orderarticles.html">Article Writing</a></li> <li><a href="http://blurple.net/supportrequest.html">Hire Support</a></li> <li><a href="http://blurple.net/designrequest.html">Website Design and Programming</a></li> <li><a href="http://blurple.net/SEOrequest.html">Search Engine Optimization for your site</a></li> </ul></li> <li><a href="http://blurple.net/freestuff.html">Free Stuff</a> <ul> <li><a href="http://blurple.net/SEO/PRCheck/index.php">PageRank Checker</a></li> <li><a href="http://blurple.net/SEO/scripts/">SEO Scripts</a></li> <li><a href="http://blurple.net/SEO/listcleaner/">List Cleaner</a></li> <li><a href="http://blurple.net/SEO/rankchecker/">Keyword Rank Checker</a></li> </ul></li> <li><a href="http://www.buyinstantebooks.com">Store</a></li> <li><a href="http://secure.blurple.net/index.php">Client Area</a> <ul> <li><form method="post" action="https://secure.blurple.net/dologin.php?goto=clientarea"> <BR />Email Address: <input type="text" name="username" size="20"><br> Password: <input type="password" name="password" size="20"><br> <input type="submit" value="Login"> </form></li> <li><a href="https://secure.blurple.net/register.php">Register</a></li> </ul></li> <li><a href="http://www.blurple.net/newslettersignup.html">Newsletter</a></li> <li><a href="https://secure.blurple.net/contact.php">Contact us</a></li> </ul> <br style="clear: left" /> </div> <div id="smoothmenu2" class="ddsmoothmenu-v"></div> </td></tr> 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted June 7, 2009 Share Posted June 7, 2009 <!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}" /> {if $systemurl}<base href="{$systemurl}" /> {/if}<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" /> <link rel="stylesheet" type="text/css" href="http://blurple.net/ddsmoothmenu.css" /> <link rel="stylesheet" type="text/css" href="http://blurple.net/ddsmoothmenu-v.css" /> <title>Blurple.net Solutions for Webmasters!</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="http://blurple.net/ddsmoothmenu.js"> /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> {litera] <script type="text/javascript"> ddsmoothmenu.init({ mainmenuid: "smoothmenu1", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) ddsmoothmenu.init({ mainmenuid: "smoothmenu2", //Menu DIV id orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu-v', //class added to menu's outer DIV //customtheme: ["#804000", "#482400"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) </script> {litera] </head> <body> 0 Quote Link to comment Share on other sites More sharing options...
bear Posted June 7, 2009 Share Posted June 7, 2009 In the post above: the first {litera] should be {literal} and the lower one {/literal} 0 Quote Link to comment Share on other sites More sharing options...
bigideaguy Posted June 7, 2009 Author Share Posted June 7, 2009 thanks, worked 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.