0

I am trying to install a module manually. Trying to learn and understand the system. It somewhat works because I created this directory

/modules/Wowproducts/views/view.list.php

class WowproductsViewList extends ViewList
{
    public function display()
    {
        echo 'test';
        $GLOBALS['mod_strings'] = return_module_language($GLOBALS['current_language'], 'Calendar');
        //require_once('modules/Calendar/index.php');
    }
}

I am able to see the word test when i type in

index.php?module=Wowproducts&action=index

and I see it

It however is not detecting my entry point file

Wowproducts.php

4

1 回答 1

0

Wowproducts.php 是您的 bean 文件,而不是入口点文件。仅当您在代码中的某处实例化 Wowproducts 类时,才会调用此类。

于 2011-05-20T20:23:53.933 回答