Hey guys,
In WHMCS , thanks for this <a href="cart.php?a=view" class="quick-nav"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs">{$LANG.viewcart} <span class="badge">{$cartitemcount}</span></span></a>
{$cartitemcount} would anyone have a way, snippet or hook, which when cart has 0 nothing it it, hide the badge?
Thian
Hey all,
I have a custom built theme, I have duplicated the language switcher from whmcs to my theme,
<li><a href="#" class="choose-language" data-toggle="popover" id="languageChooser" data-original-title="" title="" aria-describedby="popover180108">
English
<b class="caret"></b>
</a>
<div id="languageChooserContent" class="hidden">
<ul>
<li>
<a href="/clientarea.php?language=arabic">العربية</a>
</li>
<li>
<a href="/clientarea.php?language=azerbaijani">Azerbaijani</a> and so on
This works on client area but not on my custom pages created, e.g Web Design page. any ideas anyone how I can get it to work on all the my site content?
Thian
Hi Brian
Perfect i will change the code as described, It was when I deleted the link as in the attachment, the icons popped back so thought that was a conflict. Thanks for your time and advice.
Thian
Hi all,
There is a link in your code; admin/templates/blend(orv4)/header.tpl
<link href="{\WHMCS\Utility\Environment\WebHelper::getBaseUrl()}/assets/css/fontawesome-all.min.css" rel="stylesheet" />
This conflicts with my theme, I have tried deleting it, emptying cache, commenting it out etc but I can not get rid of it, can anyone please advise?
Thian