Solved Templates

User Login redirect

Asked by Addington 5 years ago Last activity 5 years ago

Hi,

I have 2 related points.

  1. The ability to change the destination when the user logs in has changed with Helix Ultimate 2.0.4.

Previously, in the file

templates / shaper_helixultimate/ html / com_users / login / default_login.php

we changed the code on lines 85-85 to new code that would redirect the user to the current page they were on when they logged in.

However, now, the only entry in the file is

require HelixUltimate\Framework\Platform\HTMLOverride::loadTemplate();

How can we direct users to the current page when they log in now?

  1. We have seen the 'Enable Login' function under the 'Basic' settings on the template. The default items on the drop down are Profile and Logout. How can we edit those options to add some of our own menu items, dpending on the acl options of the user?

Thanks

Accepted answer

Marked as the solution
Muntasir Sakib Staff

Hello Charles,

Our sincere apology for the late response.

Here are the answers to your queries -

  1. Please go to plugins > system > helixultimate > overrides > com_users > login > default_login.php, copy the code from here and replace the code from templates / shaper_helixultimate/ html / com_users / login / default_login.php and change the code accordingly. It will solve your issue.

  2. Please go to template > shaper_helixultimate > offcanvas and you will find 3 folders there. Change the code according to your need there if you want to.

Thanks!

2 more replies

Addington Asked this

Hi,

Have you any thoughts about this?

Many thanks

Ofi Khan Staff

Hello Charles Southgate

Apology for the delay. We have changed the file structure. You will find the overrides in this location: plugins/system/helixultimate/overrides/com_users/login. Copy com_users folder and paste it to templates/shaper_helixultimate/overrides. Then change in the file here and it will be preserved on the next Helix updates for your site.

Best regards

Log in to reply.