RTL language

  • andyts
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #19160 by andyts
Replied by andyts on topic Re: RTL language
Hi Ivan,
I'm still working on localhost.
I think you can do it on your own computer by installing hebrew language on Cosmetics. I will attach zip file with the he-il
thank you
Attachments:
Last edit: 12 years 9 months ago by andyts.

Please Log in to join the conversation.

  • andyts
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #19162 by andyts
Replied by andyts on topic Re: RTL language
I've just realized that it happens with any language installation
I've tried hot-ecommerce with hebrew and then with sweden and the same error came on:
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ecommerce25\templates\hot_ecommerce\html\com_virtuemart\categories\default.php on line 46

Please Log in to join the conversation.

More
12 years 9 months ago #19174 by ivan.milic
Replied by ivan.milic on topic Re: RTL language
that is not error just warning, go to that file and line:

foreach ( $this->category->children as $category ) {

then insert some condition like this:

if(!empty($this->category->children))
foreach ( $this->category->children as $category ) {

Please Log in to join the conversation.

  • andyts
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #19217 by andyts
Replied by andyts on topic Re: RTL language
Thanks Ivan,it worked
I've added the above code and the warning disappeared.
Now I'm on Hebrew language and for some reason no existing demo products and/or categories will show up. When I swich back to English everything is OK.
May be I have to run tables ubdate in Virtuemart, or it will do more damage than good?
Thanks for advice

Please Log in to join the conversation.

More
12 years 9 months ago #19236 by ivan.milic
Replied by ivan.milic on topic Re: RTL language
This was nasty bug :

www.hotjoomlatemplates.com/support-forum...d-languagepack#14140

check that, also there were more threads on this forum handling that problem

Please Log in to join the conversation.

  • andyts
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #19345 by andyts
Replied by andyts on topic Re: RTL language
Hi guys,
I followed the link in the previous message and did all en_gb tables export/import to he_il. So now I have 2 tables of each language. In both languages it works fine on the backend i.e. I get the view of demo products and categories, but on the frontend, when in Hebrew mode, all the categories or/and products will show up only one categorie/product per line. I checked setting on beckend and it says "Default number of categories in a row = 3". Once I switch back to English everything is OK. see attached file.
Please advise how can I make 3 categories/products per line
Thank you.
Attachments:
Last edit: 12 years 9 months ago by andyts.

Please Log in to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum