- Posts: 102
- Thank you received: 2
icons not showing up on my account page
- miracleecho
-
Topic Author
- Offline
Less
More
12 years 10 months ago #136451
by miracleecho
icons not showing up on my account page was created by miracleecho
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.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #136465
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic icons not showing up on my account page
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,
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.
Please Log in or Create an account to join the conversation.
- miracleecho
-
Topic Author
- Offline
Less
More
- Posts: 102
- Thank you received: 2
12 years 10 months ago #136482
by miracleecho
Replied by miracleecho on topic icons not showing up on my account page
Please Log in or Create an account to join the conversation.
12 years 10 months ago #136513
by nicolas
Replied by nicolas on topic icons not showing up on my account page
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.
- miracleecho
-
Topic Author
- Offline
Less
More
- Posts: 102
- Thank you received: 2
12 years 10 months ago #136723
by miracleecho
Replied by miracleecho on topic icons not showing up on my account page
Sorry, i am not seeing it. I have attached what i see and there is not a view with an icon to indicate customization.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #136759
by nicolas
Replied by nicolas on topic icons not showing up on my account page
If you edit the file, you should have that code:
Is that the case ?
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>
Please Log in or Create an account to join the conversation.
- miracleecho
-
Topic Author
- Offline
Less
More
- Posts: 102
- Thank you received: 2
12 years 10 months ago - 12 years 10 months ago #136985
by miracleecho
Replied by miracleecho on topic icons not showing up on my account page
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>
<?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: 12 years 10 months ago by miracleecho.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #137007
by nicolas
Replied by nicolas on topic icons not showing up on my account page
Replace that code by mine.
Please Log in or Create an account to join the conversation.
- miracleecho
-
Topic Author
- Offline
Less
More
- Posts: 102
- Thank you received: 2
12 years 10 months ago #137028
by miracleecho
Replied by miracleecho on topic icons not showing up on my account page
unfortunately that did not work. It is still the same.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #137046
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic icons not showing up on my account page
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,
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.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #235466
by ericvu
Replied by ericvu on topic icons not showing up on my account page
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
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
Please Log in or Create an account to join the conversation.
10 years 7 months ago #235483
by nicolas
Replied by nicolas on topic icons not showing up on my account page
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
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.101 seconds