Jump to content
sayedzaafir

TouchdownStats module

Recommended Posts

hi 

 

i have installed it but i get this error any idea to fix it thank you 

Warning: Invalid argument supplied for foreach() in /home/gulfairv/icrew.gulfair-va.com/core/templates/touchdownstats/touchdownstats_index.php on line 21

 

Share this post


Link to post
Share on other sites

Hi...you can use these inside of one of your templates to bring back the data you want and display it as you wish. An example to fill a variable with data for use in your template you can use $this->set->('stats', TouchdownStatsData::get_stats('10')); in your module to pass the data to the template within the $stats variable. Then in your template use the $stats variable to do what you wish with the display.

pcb assemblies

Edited by LionHo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×