1

Currently I am developing a site in Opencart. For the blog, I am using Wordpress but my client does not want two different login sections for opencart and wordpress. Is it possible to redirect a user from the admin of wordpress to OpenCart and vice versa using a link without them having to enter a password each time? Please advise. Your valuable suggestion will help me to sort out this problem.

4

1 回答 1

1

这可以通过添加一个简单的插件来实现,该插件定义了所需的(可插入的)登录功能。

http://codex.wordpress.org/Pluggable_Functions

基本上,与其直接登录 WP,不如编写可插入的函数,使用 OpenCart 的详细信息对用户进行身份验证。(请注意,钩子也允许您将登录表单直接重定向到后者。)

寻找执行此操作的现有插件或模块。如果不存在,那将是令人惊讶的。

于 2013-06-11T11:37:30.007 回答