Jump to content

Recommended Posts

  • Moderators
Posted

That line reads from the module and the module folder is case sensitive meaning the .php file inside the module folder has to be in exact same name as the folder.

  • Administrators
Posted

Looking here -> http://www.virtualual.com/index.php/touchdownstats it looks as though the module is working correctly.

How are you including it on your front page? It almost looks like you have just added the html from the stats template into the front page template and are not filling the variable. If this is the method you are using you need to fill the variable in your controller (module) file using something like;

$this->set->('stats', TouchdownStatsData::get_stats('10'));

or just call the function from within the template using something like;

<?php MainController::Run('TouchDownStats', 'top_landings', '10'); ?>

There are number of other ways to use the module as well listed here -> http://forum.phpvms.net/topic/2989-touchdownstats-10/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...