更改 Joomla 登录页面的重定向 URL [英] Change Redirect URL of Joomla Login Page
问题描述
我正在使用 joomla 登录页面,但需要更改登录的操作页面,其当前为 form action="<?php echo JRoute::_('index.php', true, $this->params->get('usesecure')); ?>"onsubmit="return validate()" method="post" name="com-login" id="com-form-login">
I am using joomla Login page, but need to change the action page of login, its currently as form action="<?php echo JRoute::_('index.php', true, $this->params->get('usesecure')); ?>" onsubmit="return validate()" method="post" name="com-login" id="com-form-login">
需要改成
form action="<?php echo JRoute::_('index.php?option=com_contushdvideoshare&view=myvideos', true, $this->params->get('usesecure')); ?>" onsubmit="return validate()" method="post" name="com-login" id="com-form-login">
可能吗??任何帮助修复它?
Possible?? Any help to fix it ?
推荐答案
您不能通过登录模块执行此操作吗?
Can't you do this via the login module?
只需为您要访问的 url 创建一个菜单项,然后在登录模块参数的登录重定向页面"下拉列表中选择它.
Just create a menu item to the url that you want to go to and select it in the "Login Redirection Page" dropdown in the login module parameters.
这篇关于更改 Joomla 登录页面的重定向 URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!