Re: Sub-category Thumbnail Images Not Displayed

More
12 years 11 months ago - 12 years 11 months ago #18314 by urmonmax
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
Last edit: 12 years 11 months ago by urmonmax.

Please Log in to join the conversation.

More
12 years 11 months ago #18329 by urmonmax

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.

More
12 years 11 months ago #18341 by ivan.milic
Open:

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.

More
12 years 11 months ago - 2 years 11 months ago #18346 by urmonmax
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.

More
12 years 11 months ago - 2 years 11 months ago #18354 by ivan.milic
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.

More
12 years 11 months ago - 2 years 11 months ago #18356 by urmonmax
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
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
Powered by Kunena Forum