Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

how to remove small icons next to category in ideal comfort

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2013, 05:14 PM
 
fiberglass.supply fiberglass.supply is offline
 

Senior Member
  
Join Date: Dec 2012
Location: Florida
Posts: 171
 

Talking how to remove small icons next to category in ideal comfort

I understand not adding image in category will not make them show up, but I need them for the fcommerce addon. I just want to remove them next to the category in ideal comfort. they show up next to categories in ideal comfort template, there's a tiny miniature icon, I just want to remove it from there.
Reply With Quote
  #2  
Old 11-05-2013, 06:17 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: how to remove small icons next to category in ideal comfort

In your version of X-cart, you should see a setting in the Flyout Menus module. Settings> Modules> Flyout Menus

Click the Configure button next to the module, and you'll see a select box that controls the icons. You can set it to "none".

If all else fails, edit the template that controls this section:
/common_files/modules/Flyout_Menus/Icons/fancy_subcategories.tpl
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
fiberglass.supply (11-06-2013)
  #3  
Old 05-07-2014, 06:24 AM
 
DBK Web Builder DBK Web Builder is offline
 

Advanced Member
  
Join Date: Apr 2014
Location: NJ
Posts: 67
 

Default Re: how to remove small icons next to category in ideal comfort

I really just want to change the size of the thumb - make it a little bigger

I see this
<code>
width="{$c.thumb_x}" height="{$c.thumb_y}"
</code>

Where do I reset this variable ?
I suppose I could just hardwire a number in ?

thanks

DonnaNJ
__________________
4.6.2 and 4.6.3
http://www.DBKWebBuilder.com
Reply With Quote
  #4  
Old 05-07-2014, 06:57 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: how to remove small icons next to category in ideal comfort

The $c array is instituted by this foreach:
Code:
{foreach from=$categories_menu_list item=c key=catid name=$loop_name}
The declaration "item=c" assigns each iteration of the loop to that variable $c.

So to discover where the size is set you need to be inspecting the original master array $categories_menu_list.

To see this array in webmaster mode, you need to turn off the "cache the menu" setting in modules/FlyoutMenus configuration settings.

Upon doing so you can easily tell that the value for each categories thumb_x and thumb_y is set to 16.

I believe it picks this up from modules/Flyout_Menus/func.php which uses the function func_ic_get_size_catthumbn located in include/func/func.image.php

Look at line 1810 of that file:
Quote:
// Get thumb_dims for schemes bt:88678 bt:93891 bt:121806
$icon_sizes['ideal_responsive'] = $icon_sizes["books_and_magazines"] = $icon_sizes['ideal_comfort'] = $icon_sizes['2-columns'] = $icon_sizes['3-columns'] = $icon_sizes['fashion_mosaic_blue'] = $icon_sizes['fashion_mosaic_green'] = $icon_sizes['fashion_mosaic_grey'] = $icon_sizes['fashion_mosaic_pink'] = $icon_sizes['vivid_dreams_aquamarine'] = $icon_sizes['vivid_dreams_violet'] = array('width' => '16', 'height' => '16');
If you are using a custom skin, the size is likely controlled by line 1819 in the else statement:
Quote:
if (isset($icon_sizes[$skin_name])) {
$result = $icon_sizes[$skin_name];
} else {
$result = array('width' => '16', 'height' => '16'); //Default value for 3rd party skins.
}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:55 AM.

   

 
X-Cart forums © 2001-2020