English 中文(简体)
Joomla登录模块无法在artcle中工作
原标题:Joomla Login module not working in artcle

I am loading the Joomla login module in an article using {loadposition xxx}. when cache is on it doesn t works and give the error of Invalid Token.

我发现它从缓存中获取Joomla令牌的隐藏字段的值,该字段通常在每次加载登录模块时以不同的方式随机生成。

有人能想出办法让它发挥作用吗?

问题回答

首先,您不能删除令牌的隐藏字段,因为这样表单将永远无法工作。。。这是一个必需的参数,因此您必须将其恢复并遵循以下步骤

  • Go to the Module manager
  • One the module
  • The first item on the parameters is called "Caching" set it to never.

编辑

您最好使用插件Modules Anywhereby Nonumber.nl

它修复了由于{loadposition}在模块标题、内容、缓存。。。等





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Remotely authenticating client Windows user on demand

Suppose I am writing a server for a particular network protocol. If I know that the client is running on a Windows machine, is it possible for my server to authenticate the Windows user that owns the ...

Role/Permission based forms authorizing/authentication?

While looking into forms authorizing/authentication, I found that it is possible to do role based authorizing by adding an array of roles to a FormsAuthenticationTicket. That way I can write User....

热门标签