- Posts: 19
- Thank you received: 0
Re: Sub-category Thumbnail Images Not Displayed
-
urmonmax
Inactive member -
- New Member
-
Less
More
12 years 11 months ago - 12 years 11 months ago #18314
by urmonmax
Replied by urmonmax on topic Re: Sub-category Thumbnail Images Not Displayed
ok.. tnx for ur explainations, i understand now, aniway is not sensate that in the undercategoryes appears not pictures.
Aniway i appreciate ur work so.. i will pay for the help if can't resolve by myself..
In case i need ur help how much coust this little modify?
Thankyou
Aniway i appreciate ur work so.. i will pay for the help if can't resolve by myself..
In case i need ur help how much coust this little modify?
Thankyou
Last edit: 12 years 11 months ago by urmonmax.
Please Log in to join the conversation.
-
urmonmax
Inactive member -
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
12 years 11 months ago #18329
by urmonmax
in components\com_virtuemart\ there is not a folder called theme
i'm using 2.5 hot cosmetic template and virtuemart 2.
where can i find this folder?
Replied by urmonmax on topic Re: Sub-category Thumbnail Images Not Displayed
ivan.milic wrote: You need to edit:
components\com_virtuemart\themes\hot_ecommerce\templates\common\categoryChildlist.tpl.php
You can find instructions on this page:
forum.virtuemart.net/index.php?topic=43800.0
in components\com_virtuemart\ there is not a folder called theme
i'm using 2.5 hot cosmetic template and virtuemart 2.
where can i find this folder?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 11 months ago #18341
by ivan.milic
Replied by ivan.milic on topic Re: Sub-category Thumbnail Images Not Displayed
Open:
templates\hot_cosmetics\html\com_virtuemart\category\default.php
around line 90 you will see this code:
modifying like this will show images:
templates\hot_cosmetics\html\com_virtuemart\category\default.php
around line 90 you will see this code:
Code:
foreach ( $this->category->children as $category ) {
// Category Link
$caturl = JRoute::_ ( 'index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $category->virtuemart_category_id );
// Show Category ?>
| <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
<?php echo $category->category_name ?>
</a>
<?php
$iCategory ++;
}
modifying like this will show images:
Code:
foreach ( $this->category->children as $category ) {
// Category Link
$caturl = JRoute::_ ( 'index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $category->virtuemart_category_id );
// Show Category ?>
| <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
<?php echo $category->category_name ?>
<?php
if (!empty($category->images)) {
echo $category->images[0]->displayMediaThumb("", false);
}
?>
</a>
<?php
$iCategory ++;
}
Please Log in to join the conversation.
-
urmonmax
Inactive member -
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
12 years 11 months ago - 2 years 11 months ago #18346
by urmonmax
Replied by urmonmax on topic Re: Sub-category Thumbnail Images Not Displayed
Before everithing thanx for ur excellent costumer care...but opening the default.php i see not exatly the structure that u posted, is different...i add the default.php file... can u see ?Thankyou again for ur help
Last edit: 2 years 11 months ago by milos.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 11 months ago - 2 years 11 months ago #18354
by ivan.milic
Replied by ivan.milic on topic Re: Sub-category Thumbnail Images Not Displayed
This is from cosmetics 2.5 version, if you have version not older than one for j1.7 you can try this file from attachment, but make backup first.
Last edit: 2 years 11 months ago by milos.
Please Log in to join the conversation.
-
urmonmax
Inactive member -
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
12 years 11 months ago - 2 years 11 months ago #18356
by urmonmax
Replied by urmonmax on topic Re: Sub-category Thumbnail Images Not Displayed
It almosot work perfectly but the firt under category is withiut image.. and, i don't kno if i ask to much but could be not possible to have 2 subcategori for line??
Tnx so much
i give u the link for let u see what i sait.. the missing first image
Tnx so much
i give u the link for let u see what i sait.. the missing first image
Code:
http://www.casa-amica.net/index.php?option=com_virtuemart&view=category&virtuemart_category_id=36&Itemid=226
Last edit: 2 years 11 months ago by milos.
Please Log in to join the conversation.
Time to create page: 0.099 seconds