cek3 Posted April 26, 2011 Share Posted April 26, 2011 Hello community! I'm trying to edit the path navigation (e.g..: You are here: Support > Login > Supporttickets) but got a problem now. I couldn't find a template where I could change and customize it. There is only <p>-tag around it, making editing very hard. Can anyone tell me how to change it? Kind regards, cek3 0 Quote Link to comment Share on other sites More sharing options...
expandmind Posted April 27, 2011 Share Posted April 27, 2011 here you go... http://forum.whmcs.com/showpost.php?p=118991&postcount=12 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted April 27, 2011 Share Posted April 27, 2011 I’m not too sure what it is you want, but the breadcrumb element is in the header.tpl. Look for the smarty variables: {$LANG.globalyouarehere}: {$breadcrumbnav} The actual breadcrumb link is populated and set in the parent php file for each page. So, if your page template is mypage.tpl the parent file is mypage.php in the root folder. You edit that php page (mypage.php) to set the relevant values that apply to that page: $breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>'; $breadcrumbnav .= ' > <a href="mypage.php">This is the Breadcrumb Text</a>'; You could change the href= to whatever path you want. Trevor 0 Quote Link to comment Share on other sites More sharing options...
cek3 Posted April 27, 2011 Author Share Posted April 27, 2011 Thank you all! What I was looking for was in header.tpl Now I'm trying to change the layout of the supporttickets.php, but while there is no .tpl file for it and the php is protected by ioncube, i cannot figure out how to change it. Hope you understand and dcan help me best wishes, cek3 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted April 27, 2011 Share Posted April 27, 2011 Admin template files are in the /admin/templates/theme folder. You might want to check the docs as they list the relevant file templates: Client Area files http://docs.whmcs.com/Client_Area_Template_Files Admin Area Files http://docs.whmcs.com/Admin_Area_Template_Files An easy way to find the relevant files is to simply look at the URL and see what is being called. So, looking at a Support ticket in our system, the URL shows: /whmcs/admin/supporttickets.php?action=viewticket&id=19262 And its easy to see that 'viewticket' is the template we are looking for. Trevor 0 Quote Link to comment Share on other sites More sharing options...
cek3 Posted April 27, 2011 Author Share Posted April 27, 2011 Thanks again for your help, I was able to change the login.tpl to solve the problem. 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.