icons not showing up on my account page

  • Posts: 102
  • Thank you received: 2
10 years 10 months ago #136451

I've read the post here: www.hikashop.com/forum/4-how-to/68810-ic...owing-in-cpanel.html and i have added the icons with important at the end of the lines but my account page still shows up like attached image.

Attachments:

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

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
10 years 10 months ago #136465

Hi,

I think it is a CSS conflict with your template.
Without a link to an account page it will be difficult to us to help you more because we can't know what are the conflicted elements in your template and what you should set as " !important "in the hikashop css to be sure that the account panel is displayed right.

You can read this documentation/tutorial about the customization and the CSS. It could help too.
www.hikashop.com/support/documentation/1...ize-the-display.html

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: 102
  • Thank you received: 2
10 years 10 months ago #136482

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 10 months ago #136513

You have an old view override for that view. Go in the menu Display>Views, and delete the customization (with the icon on the right of the listing) for the "cpanel" file of the "user" view. Then it will display normally.

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

  • Posts: 102
  • Thank you received: 2
10 years 10 months ago #136723

Sorry, i am not seeing it. I have attached what i see and there is not a view with an icon to indicate customization.

Attachments:

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 10 months ago #136759

If you edit the file, you should have that code:

<div class="hikashop_cpanel_main" id="hikashop_cpanel_main">
	<div class="hikashop_cpanel_title" id="hikashop_cpanel_title">
		<fieldset>
			<div class="header hikashop_header_title"><h1><?php echo JText::_('CUSTOMER_ACCOUNT');?></h1></div>
		</fieldset>
	</div>
	<div class="hikashopcpanel" id="hikashopcpanel">
		<?php
		foreach($this->buttons as $oneButton){
			$url = hikashop_level($oneButton['level']) ? 'onclick="document.location.href=\''.$oneButton['link'].'\';"' : ''; ?>
			<div <?php echo $url; ?> class="icon hikashop_cpanel_icon_div">
				<a href="<?php echo hikashop_level($oneButton['level']) ? $oneButton['link'] : '#'; ?>">
					<table class="hikashop_cpanel_icon_table">
						<tr>
							<td class="hikashop_cpanel_icon_image">
								<span class="hikashop_cpanel_icon_image_span icon-48-<?php echo $oneButton['image']; ?>" title="<?php echo $oneButton['text']; ?>"> </span>
								<span class="hikashop_cpanel_button_text"><?php echo $oneButton['text']; ?></span>
							</td>
							<td>
								<div class="hikashop_cpanel_button_description">
									<?php echo $oneButton['description']; ?>
								</div>
							</td>
						</tr>
					</table>
				</a>
			</div>
		<?php }	?>
	</div>
</div>
<div class="clear_both"></div>
Is that the case ?

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

  • Posts: 102
  • Thank you received: 2
10 years 10 months ago #136985

ok and what do i need to do with it? This is what i have:

<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.2
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div class="hikashop_cpanel_main" id="hikashop_cpanel_main">
<div class="hikashop_cpanel_title" id="hikashop_cpanel_title">
<fieldset>
<div class="header hikashop_header_title"><h1><?php echo JText::_('CUSTOMER_ACCOUNT');?></h1></div>
</fieldset>
</div>
<div class="hikashopcpanel" id="hikashopcpanel">
<?php
foreach($this->buttons as $oneButton){
$url = hikashop_level($oneButton) ? 'onclick="document.location.href=\''.$oneButton.'\';"' : ''; ?>
<div <?php echo $url; ?> class="icon hikashop_cpanel_icon_div">
<a href="<?php echo hikashop_level($oneButton) ? $oneButton : '#'; ?>">
<table class="hikashop_cpanel_icon_table">
<tr>
<td class="hikashop_cpanel_icon_image">
<span class="hikashop_cpanel_icon_image_span icon-48-<?php echo $oneButton; ?>" title="<?php echo $oneButton; ?>"> </span>
<span class="hikashop_cpanel_button_text"><?php echo $oneButton; ?></span>
</td>
<td>
<div class="hikashop_cpanel_button_description">
<?php echo $oneButton; ?>
</div>
</td>
</tr>
</table>
</a>
</div>
<?php } ?>
</div>
</div>
<div class="clear_both"></div>

Last edit: 10 years 10 months ago by miracleecho.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 10 months ago #137007

Replace that code by mine.

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

  • Posts: 102
  • Thank you received: 2
10 years 10 months ago #137028

unfortunately that did not work. It is still the same.

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

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
10 years 10 months ago #137046

Hi,

I checked the page and it is a CSS problem.
Your template makes an aggregation of the different CSS file required and it compress it too.

The problem is that, in this page, the HikaShop CSS content is not there. Maybe it's a cache problem of the template, I can't be really sure.
But I am sure that there is not the HikaShop CSS content in the page and that's why the control panel can't display the icons ; they are defined in the HikaShop CSS.

Please check the "CSS compression" and "cache" features of your template.

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: 4
  • Thank you received: 0
8 years 6 months ago #235466

CSS of your template don't have so many class
hikashop_cpanel_main
hikashopcpanel
icon hikashop_cpanel_icon_div
icon hikashop_cpanel_icon_div_
hikashop_cpanel_icon_table
hikashop_cpanel_icon_image
hikashop_cpanel_icon_image_span icon-48-
hikashop_cpanel_button_text
hikashop_cpanel_button_description

in the page cpanel.php
if have CSS it will display like the attach image
maybe Nicolas know how to design that class CSS

Attachments:

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 6 months ago #235483

Hi,

The display looks fine in your screenshot. So I don't know what you want.
The classes and ids available on the page should allow you to style it in CSS.
And for things you can't do with CSS, you can also edit the file "cpanel" via the menu Display>Views
Here is a tutorial on customizing views:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

Time to create page: 0.093 seconds
Powered by Kunena Forum