News:

Support the VirtueMart project and become a member

Main Menu

product category image issue

Started by rayge, February 29, 2012, 14:32:47 PM

Previous topic - Next topic

rayge

I am using joomla 2.5.1 and virtuemart 2.0.2

Im noticing that when you uncheck File published? it has no effect and the image still shows up as well as the checkbox does not change after saving.
when i check the database i see a table called virtuemart_category_medias but the new category i created does not have a record and yet the no image.gif image is showing up.

checking the notes in mediahandler.php i see the following
on lines 1058-1063
it seems to be missing code to look and see if the checkbox should be checked and is instead hardcoded as checked.

on line 1069
//  The following was removed bacause the check box (publish/unpublish) was not functioning...

Now I get maybe there is an issue with figuring out how to solve this issue but Atleast while which is being debugged I woud llike to know where in the database i can UNSET This flag manually per category id until this is fixed?

thanks for any help!
I Use: Joomla 3.4.1 & VM 3.0.9

Milbo

You can unpublish them in the media view. Does it work when you activate line 1070?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rayge

Maybe im missing something then?
WHat is the "media view?"
when i goto edit a category for example
administrator/index.php?option=com_virtuemart&view=category&task=edit&cid=1
in the image tab there is a check box called file publish which as i stated below is a non functioning item.

Can you point me to exactly what your talking about?
I Use: Joomla 3.4.1 & VM 3.0.9

rayge

If your talking about the media files section that wouldn't help in this case. I havent got an image assigned to any category.  noimage.gif wouldnt be in there anyways. are you saying asign an image that is unpublished? LOL
I Use: Joomla 3.4.1 & VM 3.0.9