FatihYldrm Posted February 2, 2017 Share Posted February 2, 2017 Hello, viewticket.php On the page How do I change ribbon according to background color? 0 Quote Link to comment Share on other sites More sharing options...
AffordableDomainsCanada Posted February 2, 2017 Share Posted February 2, 2017 This can be done using CSS. http://docs.whmcs.com/Customising_the_Six_Theme#Applying_Custom_CSS_Styling 0 Quote Link to comment Share on other sites More sharing options...
FatihYldrm Posted February 3, 2017 Author Share Posted February 3, 2017 The problem is that there is only text part there. My Code <div class="col-md-3"> <div class="well well-sm"> <span class="lead">{$LANG.supportticketsstatus}</span> <div>{$status}</div> </div> </div> 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 3, 2017 Share Posted February 3, 2017 it may be that you'll have to do a Smarty replace on the $status variable to remove the color. 0 Quote Link to comment Share on other sites More sharing options...
FatihYldrm Posted February 3, 2017 Author Share Posted February 3, 2017 it may be that you'll have to do a Smarty replace on the $status variable to remove the color. How can I help you? 0 Quote Link to comment Share on other sites More sharing options...
FatihYldrm Posted February 3, 2017 Author Share Posted February 3, 2017 I just want to get the status in the sidebar section below 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 3, 2017 Share Posted February 3, 2017 How can I help you? the problem you have is that this looks to be a custom template - therefore, your first port of call for template changes like this, should always be to contact the developer directly - as they will know their template better than anyone else (including me!). my guess is that the {$status} variable itself contains the color that you want to remove - you use just the text, you could try {$status|strip_tags} in your template code. I just want to get the status in the sidebar section below the sidebar $status - so try the above code to remove the ribbon. 0 Quote Link to comment Share on other sites More sharing options...
FatihYldrm Posted February 3, 2017 Author Share Posted February 3, 2017 Removed the coloring thank you now just need the code to color 0 Quote Link to comment Share on other sites More sharing options...
FatihYldrm Posted February 3, 2017 Author Share Posted February 3, 2017 The encoding I'm looking for is below but it does not appear in the viewticket.tpl file? <span class="label status {if is_null($ticket.statusColor)}status-{$ticket.statusClass}"{else}status-custom" style="border-color: {$ticket.statusColor}; color: {$ticket.statusColor}"{/if}>{$ticket.status|strip_tags}</span> 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.