Skip to main content

How to display user name in cpanel ?

More
11 years 3 months ago #203643 by marremp2
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

Hello,

How can I add the username of customer in the cpanel view ?

Thanks a lot

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

More
11 years 3 months ago #203645 by Xavier
Hi,

You can add the code:
Code:
<?php $user = hikashop_loadUser(true); echo $user->username; ?>
in the view "user / cpanel".

www.hikashop.com/support/support/documen...ize-the-display.html
The following user(s) said Thank You: marremp2

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

More
11 years 3 months ago #203833 by featha
Joomla: 3.4.1
HikaShop Business: 2.4.0

Hi,

I want to show the username that have logged in next to the 'Logout' button.
Something like 'Hi Joe' | LOGOUT
Will this code insert achieve that?
I found the view/cpanel.php but not sure where to insert the code into the php file.
Could you tell me the line number?

Thanks

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

More
11 years 3 months ago #203834 by Jerome
Hi,

There is no "logout" button in the HikaShop cpanel ; what you're looking for is related to Joomla itself and not to HikaShop.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.203 seconds
Powered by Kunena Forum