Jump to content

Global1

Member
  • Posts

    5
  • Joined

  • Last visited

About Global1

Global1's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I am utilizing the Thesis theme within the WordPress platform and attempting to change the client area navigation bar from within a custom directory that I created from the Default directory(I simply want to eliminate certain buttons in the nav bar, change the name on another and possibly add a new one). Does anyone with experience in this area have a possible solution or suggestion. Here is the code (from header.tpl in my custom directory), I need to access and manipulate the navigation buttons? Thanks in advance! <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse"> <ul class="nav"> <li><a id="Menu-Home" href="{if $loggedin}clientarea{else}index{/if}.php">{$LANG.hometitle}</a></li> </ul>
  2. I have been there and I am not sure what code within there needs to be edited: Here is the code (from header.tpl), but what do I need to do to access and manipulate the navigation buttons? Thanks in advance! <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse"> <ul class="nav"> <li><a id="Menu-Home" href="{if $loggedin}clientarea{else}index{/if}.php">{$LANG.hometitle}</a></li> </ul>
  3. I would like to change the buttons in my nav bar within the client area default template and do not know where to begin. If someone could give me some direction on which file to edit and also the procedure to making a change to and deleting buttons on the nav bar I would surely appreciate it. Thanks in advance.
  4. Hello Cain, I basically followed the instructions per the video tutorial where I duplicated the default folder for the default template, renamed it gmms and did a copy and paste from my website design HTML that controlled my header of my website to the header.tpl template of my custom template folder (gmms), making sure to preserve the <head> section of code in the default WHMCS template. I have pasted the changes to the header.tpl file below: Before Edit <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <title>{if $kbarticle.title}{$kbarticle.title} - {/if}{$pagetitle} - {$companyname}</title> {if $systemurl}<base href="{$systemurl}" /> {/if}<script type="text/javascript" src="includes/jscript/jquery.js"></script> {if $livehelpjs}{$livehelpjs} {/if} <link href="templates/{$template}/css/bootstrap.css" rel="stylesheet"> <link href="templates/{$template}/css/whmcs.css" rel="stylesheet"> <script src="templates/{$template}/js/whmcs.js"></script> {$headoutput} </head> After Edit <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <title>{if $kbarticle.title}{$kbarticle.title} - {/if}{$pagetitle} - {$companyname}</title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" /> <?php wp_head(); ?> </head>
  5. I am having difficulty customizing the header and footer for the default template in the client area. I have watched the video and read the instructions (created custom template / directory named gmms), and when I attempt to view it it comes up blank, please advise. I have pasted the error code from the system activity log below. I apologize in advance for asking any simple questions but I am not a developer even though I am well versed in most technical areas. Thanks in advance. : System Activity Log Smarty Error: [in gmms/header.tpl line 45]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2340) Anthony 17/08/2014 16:09 Smarty Error: [in gmms/header.tpl line 45]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 480) Anthony 17/08/2014 16:09 Smarty Error: [in gmms/header.tpl line 31]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 592) Anthony 17/08/2014 16:09 Smarty Error: [in gmms/header.tpl line 31]: syntax error: unrecognized tag: ?> <a href="<?php echo esc_url(home_url()); ?>"><img src="<?php echo </div> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse"> <ul class="nav"> <li><a id="Menu-Home" href="{if $loggedin (Smarty_Compiler.class.php, line 448) Anthony 17/08/2014 14:47 Email Sending Failed - SMTP connect() failed. (User ID: 1 - Subject: Welcome) Anthony 17/08/2014 14:47 Created Client Tony Wells - User ID: 1 Anthony 17/08/2014 14:28 Smarty Error: [in GMMS/header.tpl line 45]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2340) Anthony 17/08/2014 14:28 Smarty Error: [in GMMS/header.tpl line 45]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 480) Anthony 17/08/2014 14:28 Smarty Error: [in GMMS/header.tpl line 31]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 592) Anthony 17/08/2014 14:28 Smarty Error: [in GMMS/header.tpl line 31]: syntax error: unrecognized tag: ?> <a href="<?php echo esc_url(home_url()); ?>"><img src="<?php echo </div> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="nav-collapse"> <ul class="nav"> <li><a id="Menu-Home" href="{if $loggedin (Smarty_Compiler.class.php, line 448)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated