Store
Community Documentation

v3 Knowledgebase

Site Stats - Add MarketPlace

This will add a new stat to your sites stats block to show total ads in your marketplace. Goto ACP Tools/Site Stats/Add New StatProduct: phpFox
Module: MarketPlace
Title: MarketPlace
link: marketplace
Image: marketplace.png
PHP Code:
$this->database()
->select('COUNT(*)')
->from(Phpfox::getT('marketplace'))
->where('view_id = 0')
->execute('getSlaveField');
Active: YesNotes: Upload your new image here /theme/frontend/default/style/default/image/stat/marketplace.png - If you don't add one, by default one will be added for you. You will find image attached to this post.