User cpanel h1 change

  • Posts: 1099
  • Thank you received: 12
  • Hikashop Business
1 day 7 hours ago #367569

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.1
-- PHP version -- : 8.3

Hi!

When a user enters their cpanel orders eggrafi/user/cpanel/ the h1 heading on the left hika_cpanel_side_bar says "Register" which does not make sense.
I want to change that to "Orders" but i cannot find a way. Language overrides didn't work.

Thank you

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

  • Posts: 83937
  • Thank you received: 13598
  • MODERATOR
1 day 3 hours ago #367570

Hi,

The text in the h1 comes from the page heading of the current menu item.
Did you configure a menu item in order to access the cpanel ?
What did you configure in its page heading setting ?

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

  • Posts: 1099
  • Thank you received: 12
  • Hikashop Business
1 day 3 hours ago #367577

Hi,

All i have is a Hikashop Registration form menu item with the title "Register".
When a user is logged in they can access their cpanel (orders, addresses etc).
So basically the "Register" Page Heading of that menu displays even when the user is logged but it does not make sense there.

Thank you

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

  • Posts: 83937
  • Thank you received: 13598
  • MODERATOR
22 hours 28 minutes ago #367578

Hi,

Then, either:
- configure your "registration" menu item's access level so that only guests see it and configure another "control panel" menu item with an access level "registered" so that only registered users see it. That way, the users will use the menu item with the correct title to access the control panel
- turn off the display of the page heading in the settings of the "register" menu item
- edit the user / cpanel view via the menu Display>Views and set the title directly in a view override (I don't recommend this solution)

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.054 seconds
Powered by Kunena Forum