ライブサーバーからダウンロードされたコードlocalhostに1.39バージョンのmagentoをインストールしました。 管理パネルで私は3メニューの売上、カタログとレポートしか見ることができません。Magento- adminのメニューメニューがメニューバーに表示されない
その他のメニューは、システムメニューやその他の設定メニューのように表示されません。
私は新しくmagnetoですので、どこで管理パネルのすべてのメニューを表示するかを教えてください。
ありがとうございました。
ライブサーバーからダウンロードされたコードlocalhostに1.39バージョンのmagentoをインストールしました。 管理パネルで私は3メニューの売上、カタログとレポートしか見ることができません。Magento- adminのメニューメニューがメニューバーに表示されない
その他のメニューは、システムメニューやその他の設定メニューのように表示されません。
私は新しくmagnetoですので、どこで管理パネルのすべてのメニューを表示するかを教えてください。
ありがとうございました。
管理者ユーザーにすべてのモジュールのアクセス権があることを確認してください。あなたのユーザーグループを確認してください
あなたは新しいユーザーを作成し、その特定のユーザーから完全なアクセス許可を持つログインを行うことができます。新規ユーザーを作成するためにMagentoのルートに下記のコードを実行します。
Newuser.php
<?php
$mageFilename = 'app/Mage.php';
if (!file_exists($mageFilename)) {
echo $mageFilename." was not found";
exit;
}
require_once $mageFilename;
Mage::app();
try {
//create new user by providing details below
$user = Mage::getModel('admin/user')
->setData(array(
'username' => 'admin1',
'firstname' => 'John',
'lastname' => 'Doe',
'email' => '[email protected]',
'password' => 'admin123',
'is_active' => 1
))->save();
} catch (Exception $e) {
echo $e->getMessage();
exit;
}
try {
//create new role
$role = Mage::getModel("admin/roles")
->setName('Inchoo')
->setRoleType('G')
->save();
//give "all" privileges to role
Mage::getModel("admin/rules")
->setRoleId($role->getId())
->setResources(array("all"))
->saveRel();
} catch (Mage_Core_Exception $e) {
echo $e->getMessage();
exit;
} catch (Exception $e) {
echo 'Error while saving role.';
exit;
}
try {
//assign user to role
$user->setRoleIds(array($role->getId()))
->setRoleUserId($user->getUserId())
->saveRelations();
} catch (Exception $e) {
echo $e->getMessage();
exit;
}
echo 'Admin User sucessfully created!<br /><br /><b>THIS FILE WILL NOW TRY TO DELETE ITSELF, BUT PLEASE CHECK TO BE SURE!</b>';
@unlink(__FILE__);
?>
を私はすでに、私はDBで管理者ユーザーに許可権限をahveと思います。 – upendtu