If you want show your visitors i.e. the received money vs. the goal for a charity collection or show the still available tickets to a concert, it is nice to show a progress bar. You can do this with a few lines of Smarty and a bit of CSS.
Add this Smarty code to your page or template. You can adjust the part and total parameter value to your likings.
Add this - example - styling to your stylesheet:
The output of the code above, where the part value is todays date on a scale of 100
No comments yet...