User profile like goes to home page

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
1 year 3 months ago #354330

-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3
-- PHP version -- : 8.0
-- Browser(s) name and version -- : Mozilla & Chrome

I just migrated my site to Joomla 4.3 and I have noticed an issue with Hikashop. I have a Hikashop menu item of the type User Control Panel. In the User Control Panel, when a user clicks on the Account Profile link it takes the user to the site's home page. Checking the url right after clicking on the Account Profile link I can see that my site's home page menu ID is appending to the end of the Account Profile link. It looks like this:
mysite.com/index.php/component/users/pro...yout=edit&Itemid=101 . Where 101 is my site's menu ID when the url should just be:
mysite.com/index.php/component/users/profile?layout=edit .

I have no idea why that would change when I migrated to Joomla 4. When I take my site back to before the migration, the Account Profile link works fine. When I migrate to Joomla 4 it doesn't work again.

Please advise on how to fix this. Thank you.

Last edit: 1 year 3 months ago by dbarnhart863.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 3 months ago #354333

Hi,

The link to the profile, from the control panel of HikaShop is generated by the plugin "HikaShop joomla user account link plugin".
In the settings of the plugin, you have an option "Force menu". In there, you need to enter the id of a menu item of the "Users" component of Joomla. If you leave it empty, the resulting URL will have a URL with a menu item which might not work. Similarly, if you have the id of a menu item which you deleted, or change its type, it will create a problem.
So you have to check this setting and make sure it's set to a valid menu item's id.

Please Log in or Create an account to join the conversation.

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
1 year 3 months ago #354341

Thank you Nicholas for your help. It's always appreciated.

That plugin didn't have any menu item in it. Also, when I changed my template over to Cassiopeia it works fine so it must be a template issue too.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum