How to modify the display of user control panel

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #80134

Hi there,

I put a menu item of Hikashop Registration Form.

When the user is registered, the menu item will automatically become "user Control panel", is that correct? As the following shows:



Then, I look into the "Edit Account Info" button, there is a big form that offers email and password change, etc.; however with an odd CSS as the following shows:


The form also has some options relating to front end and back end editing...which is not supposed to be seen by customers. How can I remove it?

Thank you so much. :)

Attachments:
Last edit: 11 years 11 months ago by tinachou.

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

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #80142

HI,

I found the problem is with nothing to do with Hikashop. The css and the user profile setting are inherited from K2 component.

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

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #80143

Hi,

Is it possible to remove the "CARTS (SHOW THE CARTS)" option in the user control panel; instead, put this option separately as a menu item on the top corner of the page?

Thank you so much. :)

Last edit: 11 years 11 months ago by tinachou.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #80205

Hi,

If the option "enable multicart" is disable (in the display table, with "catalogue mode" and "enable wishlist"), the button would not be displayed in the list.
Otherwise, you would have to edit the view "user | cpanel" and add a little code in order to skip the button

	<div class="hikashopcpanel" id="hikashopcpanel">
		<?php
		foreach($this->buttons as $oneButton){
			// Add the next line
			if($oneButton['image'] == "cart") continue;
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.

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #81311

Hi there,

Thanks for the helpful reply.

Since I have updated to "business version", and I found there is another row associated with "affiliate program".

I don't want to display it now, so I also added

 if($oneButton['image'] == "cart") continue;
 if($oneButton['image'] == "affiliate") continue;

but, the affiliate info row is still there. How can I fix it?



Another CSS problem is, I hope to display the "address info" in the user control panel to look like a Table.

Now it looks like a list with a checkbox.




Thank you very much. :)

Attachments:
Last edit: 11 years 11 months ago by tinachou.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #81469

Hi,

The affiliate use the image "category".
But you can make another test for it

if($oneButton['text'] == JText::_('AFFILIATE')) continue;

The addresses listing is a table (with class "hikashop_address_listing_table").
The first column have the radio button (what you have called "checkbox"), the second have the address and the last column have the actions buttons.

First "TD" have class "hikashop_address_listing_item_default".
Second "TD" have class "hikashop_address_listing_item_details".
Last "TD" have class "hikashop_address_listing_item_actions".

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.076 seconds
Powered by Kunena Forum