User Login Redirect - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

User Login Redirect

A

Addington

Template 4 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

0
3 Answers
Muntasir Sakib
Muntasir Sakib
Accepted Answer
Support Agent 4 years ago #34207

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!

1
A
Addington
Accepted Answer
4 years ago #33881

Hi,

Have you any thoughts about this?

Many thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #34201

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

1