givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
384 stars 82 forks source link

CSS error (maybe) #119

Closed assati closed 7 months ago

assati commented 7 months ago

Hello.

I edited some translations in the RU language pack and then styles of Latest products in Home page (maybe some others too) got messed up (or it seems so). The home page looks like this: Снимок экрана от 2024-04-22 11-23-38

Also I am getting warnings:

Undefined array key "code" in ...storage/compiled-templates/app_1_landing_error404.html on line 195

givanz commented 7 months ago

Hi

From the screenshot it looks like the products component is empty.

The connection between translations/language and products is that products need to have name/description for the currently selected language.

If you added a new language and didn't edit the products to also add the name/description for the new language this will show the products without names/description.

If you select the products component and change some properties like number of products it will remain the same?

simplescreenrecorder-2024-04-22_23.59.09.webm

Can you please check if you have at least one language set to default?

default

The warning seems to be caused because no language is set by default.

I added some checks in the last update to avoid this warning in app/template/components/language.tpl

assati commented 7 months ago

If you select the products component and change some properties like number of products it will remain the same?

It remains the same.

Can you please check if you have at least one language set to default?

Yes, I have Russian set to default. I deleted the RU pack and uploaded it again, bit it didn't help.

Also I noticed that images in Latest posts are absent (but they are seen in the editor):

Снимок экрана от 2024-04-23 12-58-57

givanz commented 7 months ago

Can you please check that you don't have a plugin such as theme/plugin market or cdn enabled?

The cdn plugin change the path to images to point to cdn and if the cdn host is not set to a valid cdn provider it can result in blank images.

The theme market plugin changes the default product type to theme and it will hide regular products from the site, this plugin is used on the theme marketplace.

I will remove it from the bundle to avoid this kind of issues.

assati commented 7 months ago

Yes, I had these 2 plugins enabled. After disabling them all the issues are gone. Thank you a lot!