CPANEL views

  • Posts: 35
  • Thank you received: 0
13 years 2 days ago #30973

Hi,

I'm trying to change the CPANEL but I'm having a hard time figuring it out.

- In the Account Information: how can I customize this page? I want to show only the email and password fields.
- Addresses: I'm using only one address, can I link directly to the 'edit address' lightbox without opening the address page?
- Could you please tell me where the different views are located?
- Is there any way I could open the affiliate link in a lightbox also?

Thanks!
Mathieu

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 2 days ago #30989

Hi,

The account information page is a joomla page. There is an option in the configuration of joomla or the user options to deactivate the advanced options like HTML editor selection. Otherwise, you will need to change the joomla user profile view for your changes

You can't link directly to the address popup.

The views can all be accessed via the menu Display->Views.

You can't open the affiliate program in a lightbox.

I say you can't, but you could do actually do it. It's just that the modification won't be easy as you will need to edit core files of HikaShop to directly change the way the HTML of the buttons is written in the file components/com_hikashop/views/user/view.html.php. Also, for the address link, you would need to know the id of the address, and thus you would need to also do a query to the database.

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

  • Posts: 35
  • Thank you received: 0
13 years 2 days ago #30995

I sent a question about custom development to your gmail address.
Thanks!

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

  • Posts: 35
  • Thank you received: 0
13 years 1 day ago #31013

If I can't have all in one page, at least I would like to have the same navigation for all the CPANEL pages.
How can I add the CANCEL (back) link on the account information page?

Also, I'm trying to simplify the account information page.
At this point I can't find the joomla user profile view.
I'm looking at components/com-users/views/profile/tmpl/edit.php
But it's calling a fieldset and I don't know where the actual fields are.
Can you point me in the right direction?

Thanks!

Last edit: 13 years 1 day ago by mbeley.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 day ago #31028

The cancel link should be added in the joomla profile edition page.
You're looking at the correct file.
For the form, it is displayed by the joomla library using the XML files in the folder components/com_users/models/forms so you would have to modify them if you want to remove/change the fields. But for adding the cancel button, you should do that in the file your already found.

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

  • Posts: 35
  • Thank you received: 0
13 years 1 day ago #31041

Thanks for your answers Nicolas!

I have one more question:

I made a account-login-or-register page to replace the login page of the CPANEL
If I click the MY ACCOUNT link and I'm already connected, then I get to this page: index.php/account-login-or-register/user/cpanel , which has a logout button
If I'm not connected, then upon login I reach a different page: index.php/my-account , which is the same CPANEL page but without the logout button.

Now I went back to the default login page
index.php/component/users/?view=login&return=aHR0cDovL3d3dy5sdXh1cnlvcmdhbmljcGVyZnVtZXMuY29tL2luZGV4LnBocC9teS1hY2NvdW50
and I reach this page: index.php/my-account without the logout button

I would like to have the logout button on the CPANEL page, how is it possible?

Still one more question:
in the AFFILIATE view, what is the difference between SAVE and APPLY?

Thanks again!

Last edit: 13 years 1 day ago by mbeley.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 day ago #31066

If you want to add a logout button on the cpanel page, yo should edit your joomla login module, make sure that it is published and assign it to that menu.

You have a good point for the buttons. Indeed there is no need to have both of them. We'll remove the save button from that view. That makes more sense. You can remove it if you want by editing the file "show" of the view "affiliate" via the menu Display->Views.

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

  • Posts: 35
  • Thank you received: 0
13 years 22 hours ago #31083

Thank you so much.

Please let me know exactly where the view for CPANEL->ORDERS is located
I'm looking at Order->User
but I cannot find the <fieldset> with the CANCEL button that I'm trying to remove

Thanks again!

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 21 hours ago #31091

The orders listing is displayed by the file "listing" of the view "order" of the front end that you can edit via the menu Display->Views.

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

  • Posts: 15
  • Thank you received: 0
9 years 9 months ago #190180

hey guys,

hope this is the right section to ask my question.

attached you can see at the top my cpanel. if I click for example on "Bestellungen" (orders) i get to the page you can see at the bottom. On each result page of my cpanel i would like to have a sidebar. in my case the sidebar should have the content from the main cpanel, so dont't have to go back.

So the question is, how do get the sidebar to the pages? Any ideas?

Greettings
Cobi

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #190207

Hi,

So you want to display the user control panel content into a module placed on the left side.
There is no options like that by default in HikaShop and Joomla don't have option to have in a module the content of a menu.

But, creating a module can do the job. In the module, you can load HikaShop and get the content of a view thanks to the function:

$params = '';
$js = '';
echo hikashop_getLayout('user', 'cpanel', $params, $js);

Or you can directly edit the views "order / listing", cart / showcart", etc and use the previous code in the views.

The following user(s) said Thank You: cobi

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

  • Posts: 15
  • Thank you received: 0
9 years 9 months ago #190268

That works for me!

Thx so much Xavier

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

Time to create page: 0.099 seconds
Powered by Kunena Forum