News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

No image set

Started by bestcons, October 29, 2019, 23:24:23 PM

Previous topic - Next topic

bestcons

Today I updated VM to 3.6.4, my Joomla version is 3.9.12
I imported via CSVI a new Category which seemed alright. However in the frontend all Categories have now an additional text NO IMAGE SET (translation from the Dutch text) as is visible via http://www.dedecanije.nl/boerderijen/straatnaam-boerderijnaam
I noticed the following differences compared to the previous version:
1. In Configuration -> Shop -> Vendor  tab-> On the line Meta keywords there is this same text: No image set, which I cannot alter. This was previously empty
2. A few lines down: Used URL : components/com_virtuemart/assets/images/vmgeneral/noimage_small.gif Previously this was: images/stories/virtuemart/vendor/
Please advise.

Jörgen

#1
AFAIK CSVI does not import the image files. Copy these manually. You may also be forced to alter any URL that might have been set by CSVI. More info would be from CSVI, I do not use this tool.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

bestcons

Forget my remark about CSVI. I thought importing had caused the problem, but that's not the case.
It turns out that all the categories now have this additional text!

StefanSTS

The function changed I guess, it is a new feature in VM config - Templates -> Media File Settings.

Not sure yet, what it does and why there is no way to say, not to show an image.

But if you don't want images in your category view, you should anyway remove the code for the image from sublayout products.php.

Regards
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Milbo

I think I fixed that.

Tomorrow comes a new version. I used accidently static:: instead of self:: so your "no image" thumbnail is now in the root.

and yes the function changed a bit, the url is the one of the no image set thumbnail, but you can ignore it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

bestcons

Just installed VM 3.6.6 and the earlier reported problem is gone. There is however still a remarkable difference between version 3.6.2. This is shown in the attachments. The first attachment, the name starting with Oud Vorden, shows the layout of a certain Category with Sub-categories under 3.6.2 in our live website. Notice the small distances between the various Sub-categories lines. In 3.6.6 there are:
- unaceptable large distances between lines
- the sub-category names are followed by a space and three dots
as shown in the second attachment, the name starting with De Decanije

Jörgen

Is this not Joomla categories you are displaying? This would be depending on Your t3-template, or am I wrong ?

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

StefanSTS

Here we are again where a link to a test site comes in handy.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

StefanSTS

If you don't want to make a good products.php sublayout, this will do:

.category img {
    display: none;
}
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

bestcons

Previous suggestions are beyond my capabilities. Hence I'm asking to help me out to have VM 3.6.6 with a similar performance as 3.6.2, realizing that I am not a .html or .php expert, just used to configuration settings.

Jörgen

I have no experience with Your template. But there is usually a file called custom.css

/templates/your-template-name/css/custom.css

At the end of the file add Stefans suggested code:
.category img {
    display: none;
}


If that file doees not exist, You have to read the documentation of Your template.

Remark, it seems that the issue is fixed ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

StefanSTS

There was always a dummy image for categories without given images.
So if you updated VirtueMart and something changed, maybe your changes were in the core files and not in template overrides.

In that case every update would change the sites appearance.

Please ask your template provider or developer how it was done.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

bestcons

Yes the issue is fixed, both in VM 3.6.6 and for the website. Many thanks for the guidance. The template is from ja_techzone and the code had to be added to bootstrap.css

StefanSTS

Fine, that you got it working. :-)

If you add the "code" to bootstrap.css, the CSS will be overridden on next update.
You should add a CCS file, or use the existing one, in which you can put your custom code, so that you do not have to edit your bootstrap.css after every update.

Like Jörgen said, in many templates there is a custom.css or user.css that you can activate.
Check your template for settings or ask your template provider.

If that is not an option for you I recommend to make an "Update checklist" where you write these things down. I do that for my own sites and my every customer, saves a lot of time.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.