Hi,
I've set the number of categories/row to 3 (default).
When I look at the code it's like this (I show the relevant code only):
<div class="row">
<div class="category floatleft width33 vertical-separator">
...
</div>
<div class="category floatleft width33 vertical-separator">
...
</div>
<div class="category floatleft width33">
...
</div>
</div>
<div class="horizontal-separator"></div>
<div class="row">
<div class="category floatleft width33 vertical-separator">
...
</div>
<div class="category floatleft width33 vertical-separator">
...
</div>
<div class="category floatleft width33">
...
</div>
</div>
As you can see, the class code is inserted fine. The problem might be with the JS that parses it (again, might be...).
The outcome is all the categories are aligned to the right/left (depending on language) and one above each other (see attachment).
When I add
style="text-align: center; width: 33%; float: right;"
To the category divs, I get the right alignment (see attachment).
Can you help me solve this?
I'm using Joomla 1.7 with VM2RC (the newest).
[attachment cleanup by admin]
You might check your template positions like described here: http://docs.joomla.org/Finding_module_positions_on_any_given_page (http://docs.joomla.org/Finding_module_positions_on_any_given_page)
and also try a different template. I'm using 4 categories/products in a row, which works without problems and with all templates I've tried so far.
Hi,
I'm sorry but your answer is irrelevant for two major reasons:
1) These are not module positions. It is not related. This is ordinary category view. I stated the code which does not work for me.
2) I used a fresh install, so no template modifications have been made to the VM code. The phenomenon happened with the "Sample Data" as well. Hence, something is wrong in the core installation (i tried reinstalling).
The problem as I see it is that the styling is not parsed. This code: class="category floatleft width33 vertical-separator" is supposed to be parsed by a JS (or Ajax or whatever) but it isn't, and the divs are now styles (this is the problem, since adding the style attribute as mentioned solves the problem).
Just in case, I tried it with the beez template that comes with Joomla - same problem. I tried with 3 different browsers (ie, chrome and FF) - still the same problem.
Any idea how to make it work?
Thanks,
Yonatan
Did you updated to G?
Yes, I have (using the auto update).
No change...
Which browser are you using?
Maybe, ha, I have an idea, maybe it is connected to your right left reading? When you change it to hebrew? for exampel some browser utf8 thing?
Oh yea... I'm using an RTL template...
Can this be fixed?
Hi,
Any solution?
It is connected to your template afaik.
No it is not.
I changed to Joomla 1.7 default template (beez and others that come with the installation) and it is still the same.
This is a VM issue...
it was a vm issue, but afaik fixed
What was the fix? I didn't get it and I'm using the latest version...
I thought it is already in the G version. You may use the svn.
I'm currently using this version: 2.0.0-RC-2G
Joomla 1.7.
It happens with ALL templates.
It happens only with RTL languages (when I switch the language in the Language Manager of Joomla).
This is a serious bug...
Quote from: drizzt99 on September 22, 2011, 14:27:48 PM
It happens only with RTL languages (when I switch the language in the Language Manager of Joomla).
Ahhaaa ! There it is!
What do you mean?
I just told you it happens with ALL of the templates - hence, my template is OK. The problem is with VM.
It happens when I change language in Joomla... why does it happen? What would be the solution?
From your response I only get: "the problem is with RTL". What do you mean? It happens with ALL of the templates. So if VM has a problem with RTL languages, it is a VM problem, am I right?
Quote from: drizzt99 on September 22, 2011, 14:27:48 PM
I'm currently using this version: 2.0.0-RC-2G
Joomla 1.7.
It happens with ALL templates.
It happens only with RTL languages (when I switch the language in the Language Manager of Joomla).
This is a serious bug...
We decide to do VirtueMart2 Universal !The RTL CSS is only in alpha stage,
virtuemart2.0\components\com_virtuemart\assets\css\vmsite-rtl.cssBut it's here.
You have 2 solution for now :
- do the rtl css correctly for you .(you can use vmsite-ltr.css for example)
- copy vmsite-ltr.css over vmsite-rtl.css
if you write Arabic, Hebrew, Syriac, Thaana or N'Ko script, thanks to correct the css and send it to the forum ;)
Greets, patrick
Ok,
Now you're talking.
I'll go ahead and fix the rtl css and upload it here :)
Should be over tomorrow I guess...
Ok,
I got the file so far. It is attached here.
Due to some errors in the system I'm unable to see products, so right now I was able to fix only the categories - but this is better than nothing :)
[attachment cleanup by admin]
I'm having this problem as well - http://74.208.93.31/chassestore/index.php?page=shop.browse&category_id=1&option=com_virtuemart&Itemid=1
Nothing I do seems to fix it. Any ideas? I am using whatever language it came installed with... i haven't changed anything.
You need to setup the css file.
Look at the posts above. I've added the rtl css file. If you're using English (or ltr language) then you are missing the ltr file...
But more likely it is a problem with thr RTL file.
Thanks drizzt99,
You're my hero
I'm building hebrew website and was having that issue for a while and could not find a solution. I'm on virtuemart 2.0.6 now and it's still not fixed there.
Toda raba