schmunk42 / yii2-packaii

Yii 2 Composer Package Toolkit
16 stars 4 forks source link

Can't Display Packaii Page #11

Open larry-tx opened 10 years ago

larry-tx commented 10 years ago

I've installed this extension according to the directions in your readme. The instructions didn't say what to do with the following directive:

'panels' => [
    'packaii'   => ['class' => 'schmunk42\packaii\panels\PackaiiPanel',],
]

So I put that into config/main. Then, I tried going to http://advanced.dev/index.php?r=debug/default/view&panel=packaii (advanced.dev is a web site on my localhost setup with the advanced template.) That took me directly to ... the home page for my site. I am simply not able to get to the page for this extension.

As a background I've added the following directives to my config/main.php:

return [
              ...
        'aliases'    => [
            '@root' => realpath(__DIR__ . '/../../'), // path to your composer.json file
        ],
                ...
        'modules'    => [
            'packaii'  => [
                'class'          => 'schmunk42\packaii\Module',
                'gitHubUsername' => 'LarryTX',
                'gitHubPassword' => 'Eugene1951'
            ],
            'panels'   => [
                'packaii' => ['class' => 'schmunk42\packaii\panels\PackaiiPanel',],
            ]
                       ...
tonydspaniard commented 9 years ago

@LarryTX sorry for delay but the panels should be in your debug module:

if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $config['modules']['debug'] = [
        'class'      => 'yii\debug\Module',
        'allowedIPs' => ['127.0.0.1'],
        'panels'     => [
            'packaii'   => ['class' => 'schmunk42\packaii\panels\PackaiiPanel'],
Quexer69 commented 9 years ago

@LarryTX you maybe change your GitHub PW, cheers^^

'packaii'  => [
                'class'          => 'schmunk42\packaii\Module',
                'gitHubUsername' => 'LarryTX',
                'gitHubPassword' => 'Eugene1951'
            ],