从外部管理面板链接到Magento Admin [英] Linking to Magento Admin from Outside Admin Panel

查看:62
本文介绍了从外部管理面板链接到Magento Admin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建一些CRM工具,这些工具可以将电子邮件发送给我的销售人员并链接回Magento Admin内部的页面.我一直在构建这样的URL:

I'm trying to build some CRM tools that send emails to my sales guys and link back to pages inside the Magento Admin. I've been building the URLS like this:

Mage::getUrl('*/quotes/edit', array('id'=>$quote->getQuoteId(), '_current'=>true))

问题在于它仅将它们发送到仪表板.我假设这是因为"_current"的设置在他们登录时已更改,因此使链接无效并将其发送到默认页面.关于如何建立不包含URL会话的Admin链接的任何想法?

The problem is it only sends them to the dashboard. I'm assuming it is because the setting for "_current" is changed when they login, thus invalidating the link and sending them to the default page. Any ideas on how I could make a link into the Admin that doesn't include the session in the url?

推荐答案

从管理URL禁用秘密密钥应该可以解决您的问题.

Disabling secret key from admin URLs should solve your problem.

要从管理员URL禁用密钥,请执行以下操作:-

To disable secret key from admin URLs:-

  • 登录到管理员
  • 转到系统->配置->高级->管理员->安全->向URL添加密钥
  • 选择
  • 保存配置
  • Login to admin
  • Go to System -> Configuration -> ADVANCED -> Admin -> Security -> Add Secret Key to URLs
  • Select No
  • Save Config

这篇关于从外部管理面板链接到Magento Admin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆