• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

How can add a footer to the Homepage?

If you want to show this only on home page add the below code in themes->views->index.php file in between footer section
<?php $stats = CHV\Stat::getTotals(); ?>
<div class="stats-block c6 fluid-column display-inline-block">
<span class="stats-big-number">
<strong class="number"><?php echo $stats['images'] > 999999 ? $stats['images'] : number_format($stats['images']); ?></strong>
<span class="label"><?php _ne('Image', 'Images', $stats['images']); ?></span>
</span>
</div>
 
If you want to show this only on home page add the below code in themes->views->index.php file in between footer section
<?php $stats = CHV\Stat::getTotals(); ?>
<div class="stats-block c6 fluid-column display-inline-block">
<span class="stats-big-number">
<strong class="number"><?php echo $stats['images'] > 999999 ? $stats['images'] : number_format($stats['images']); ?></strong>
<span class="label"><?php _ne('Image', 'Images', $stats['images']); ?></span>
</span>
</div>
Is this for v3, i tried with v4 but it does not works 🙁
 
Chevereto V4 changes the namespace. For the Stat class you need to use:

PHP:
\Chevereto\Legacy\Classes\Stat::getTotals();
 
Back
Top