doudong0425 2014-06-25 05:06
浏览 58
已采纳

如何在Joomla 3中禁用前端登录组件?

How to disable front-end login component in Joomla 3?

I have managed to disable front-end user registration by disallowing registration as below.

enter image description here

But still the login form is accessible via below url

index.php?option=com_users&view=login

How can I disable front-end login component without editing the core files?

Given that I have gone through below. I don't want to use a RewriteRule to get it done. I want to show a msg to user that it's disabled.

joomla 3 - how to disable front end login component?

  • 写回答

2条回答 默认 最新

  • dpiuqwwyu187975836 2014-06-25 05:21
    关注

    Try this,

    Joomla default login module is protected. So you can't edit/disable it from admin side.

    Just check extensions-> extension manager -> Search for login

    Then that module will display. but you can't make it disable. So the solution for override this feature without touching core files is template override.

    You can simply override this view index.php?option=com_users&view=login in your template.

    Editing Protected extension via DB tables

    The extensions can not be edited, but you can manage it by turning it ON, or OFF. Protected, mean that this extension can not be managed, otherwise it will broke structure of your site. However, if you wish to bring extension to unlocked status, you can access your DB (in my case MySQL edited by phpMyAdmin), find reliable table of structure, find desired string, and change "Status" from "1" to "0". Usually your host providing you with some DB administering tools.

    Hope it helps..

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?