suprahost Posted November 21, 2008 Share Posted November 21, 2008 Hello I would customize $breadcrumbnav You are here Support > Client Area I would replace the ">" with a nice arrow. How to do that please ? Thank you! 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted November 22, 2008 Share Posted November 22, 2008 I think that is not possible. 0 Quote Link to comment Share on other sites More sharing options...
suprahost Posted November 24, 2008 Author Share Posted November 24, 2008 There should be a way , because I have seen some sites which customized it. 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 26, 2008 Share Posted November 26, 2008 i noticed those > in the source, why did the WHMCS put those there? it breaks standards, you're meant to put $gt; so it doesnt render as markup on certain browsers. anyway, try changing it to » for a different type of arrow, → for a Right arrow, ← for a left arrow. just chuck those in the HTML and they'll work. 0 Quote Link to comment Share on other sites More sharing options...
suprahost Posted November 26, 2008 Author Share Posted November 26, 2008 where exactly ? 0 Quote Link to comment Share on other sites More sharing options...
surfichris Posted November 27, 2008 Share Posted November 27, 2008 In your header template.. {php} $breadcrumb = $this->get_template_vars('breadcrumbnav'); $breadcrumb = str_replace(' > ', '<img src=..... />', $breadcrumb); $this->assign('breadcrumbnav', $breadcrumb'); {/php} We've done something similar - but instead I've got about 30 lines that completely rebuild the breadcrumb (strip out items, reformat in to a list with <li> tags etc) 0 Quote Link to comment Share on other sites More sharing options...
mcpacific Posted April 4, 2009 Share Posted April 4, 2009 My breadcrumb link shows my WHMCS Home link as "Support" (ie. "You are here: Support > Domain Checker"). Is this a configurable field somewhere in WHMCS? Or will I have to change it using the method posted above? I can't seem to find it... I would rather it say "Client Area" instead. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 4, 2009 Share Posted April 4, 2009 I believe it's line #1 in the language file: $_LANG["globalsystemname"] = "Support"; Edit: Yes, that's it. Just don't name it "Client Area" or it will show twice with that on some pages. 0 Quote Link to comment Share on other sites More sharing options...
mcpacific Posted April 4, 2009 Share Posted April 4, 2009 Indeed it is, thank you Bear! ;-) 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 4, 2009 Share Posted April 4, 2009 No problem. I changed mine to "My Account", which seems to go well with all the other links. 0 Quote Link to comment Share on other sites More sharing options...
mcpacific Posted April 4, 2009 Share Posted April 4, 2009 After thinking about it more (and seeing how it looked when clientarea.php was loaded) I was going to use "Sales & Support Portal" but I think I'll use your idea instead.. much cleaner! Thanks again! 0 Quote Link to comment Share on other sites More sharing options...
yabdab Posted August 18, 2009 Share Posted August 18, 2009 For those that want it converted to a ul list, then here is the code. {php} /* customize breadcrumb output */ $breadcrumb = $this->get_template_vars('breadcrumbnav'); $breadcrumb = str_replace(' > ', '', $breadcrumb); $breadcrumb = str_replace('</a>', '</a></li>', $breadcrumb); $breadcrumb = str_replace('<a href', '<li><a href', $breadcrumb); $this->assign('breadcrumbnav', $breadcrumb); {/php} 0 Quote Link to comment Share on other sites More sharing options...
gr2 Posted April 14, 2011 Share Posted April 14, 2011 For those that want it converted to a ul list, then here is the code. {php} /* customize breadcrumb output */ $breadcrumb = $this->get_template_vars('breadcrumbnav'); $breadcrumb = str_replace(' > ', '', $breadcrumb); $breadcrumb = str_replace('</a>', '</a></li>', $breadcrumb); $breadcrumb = str_replace('<a href', '<li><a href', $breadcrumb); $this->assign('breadcrumbnav', $breadcrumb); {/php} thank you for this... Simply brilliant! 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.