Jump to content

Search the Community

Showing results for tags 'display credit'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • WHMCS Beta Program
    • WHMCS 9.1 Beta Discussion
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
    • MarketConnect Partner Product Status Updates
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics
  • RactStudio Club's Topics

WHMCS Version

  • V8.13.x Hotfixes
  • V8.12.x Hotfixes
  • V8.11.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Latest WHMCS using stock six template. When I add {debug} to the top of clientareahome.tpl a new popout displays TONS of great things... I just want to recycle some of these smarty objects. For example, I wish to display client balance that someone would see in the notification area.. more or less.. The $LANG smarty objects seem to work, mostly. The other ones that display %s do not. I just don't understand. {$totalbalance} {$LANG.availcreditbaldesc} {availcreditbaldesc} {$availcreditbal} availcreditbaldesc => "You have a credit balance of %s and this will be automatically applied to any..." youhaveoverdueinvoices => "You have %s Overdue Invoice(s) etc..etc.. --- Here is a snippet of some example code, that I snagged from the debug popup window. clientAlerts => Array (5) creditCardExpiring => "Your credit card :creditCardType-:creditCardLastFourDigits expires within :da..." domainsExpiringSoon => "You have :numberOfDomains domain(s) expiring within the next :days days." invoicesUnpaid => "You have :numberOfInvoices unpaid invoice(s). Pay them early for peace of mind." invoicesOverdue => "You have :numberOfInvoices overdue invoice(s) with a total balance due of :ba..." creditBalance => "You have a credit balance of :creditBalance." - - - Updated - - - Do I really need a hook, to display an already existing smarty object that is being loaded? Just seems redundant and inefficient. If the data is already being display...I should just be able to recycle the same {fancy.tag}. - - - Updated - - - I did a global search for the one tag, and found something helpful in five template. {if $clientsstats.incredit} <div class="alert alert-success"> <p><strong>{$LANG.availcreditbal}:</strong> {$LANG.availcreditbaldesc|sprintf2:$clientsstats.creditbalance}</p> </div> {/if} I mean, it delivers results.. that's always good! A step into the right direction. So basically, I'm using {$clientsstats.creditbalance} to get the results I desire. --- OOOOO I think it just hit me... the period symbol extends the smarty object! That's actually brilliant...
×
×
  • 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