开发者

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.

What I figured out is that it is taking value of hidden field of the Joomla token from the cache which is usually generated randomly differently every time login 开发者_如何学Pythonmodule is loaded.

Can anybody have some idea to make it works?


First you cannot remove the hidden field of the token because this way the form will never work ... It's a required parameter so you have to restore it back and follow these steps

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

EDIT

You better use the plugin Modules Anywhere by Nonumber.nl

It fix 99$ of the issues that occur because of {loadposition} in regards to module title, content, caching ... etc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜