Joomla Templates, WordPress Themes - HotThemes
Welcome, Guest
Username: Password: Remember me
Discussion about "Cosmetics" Joomla/VirtueMart template.

TOPIC: RTL language

Re: RTL language 11 months 1 week ago #19160

  • andyts
  • andyts's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
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: 11 months 1 week ago by andyts.
The administrator has disabled public write access.

Re: RTL language 11 months 1 week ago #19162

  • andyts
  • andyts's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
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
The administrator has disabled public write access.

Re: RTL language 11 months 1 week ago #19174

  • ivan.milic
  • ivan.milic's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 8305
  • Thank you received: 902
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 ) {
The administrator has disabled public write access.

Re: RTL language 11 months 1 week ago #19217

  • andyts
  • andyts's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
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
The administrator has disabled public write access.

Re: RTL language 11 months 1 week ago #19236

  • ivan.milic
  • ivan.milic's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 8305
  • Thank you received: 902
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
The administrator has disabled public write access.

Re: RTL language 11 months 6 days ago #19345

  • andyts
  • andyts's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
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: 11 months 6 days ago by andyts.
The administrator has disabled public write access.
Time to create page: 0.116 seconds
Powered by Kunena Forum

Forum Rules

Allow our support staff to help you:

  • Average response time is 12-24h. Please don't ask the same question twice.
  • Always post your site link so we can check your problem.
  • If you prefer, you can send link and site login details privately if you click "Report to moderator" link.

You are welcome to post if you have fair Joomla/WordPress knowledge and your question is related to:

  • Finding and resolving errors in our products
  • Problems with installation of our products on your server
  • Instructions how to use our products - please read documentation and search this Forum before posting!
  • General questions about our products

In the following cases, support staff may not reply your question or may delete your post without prior notice:

  • Total Joomla/WordPress beginners - Please find some literature for Joomla or literature for WordPress.
  • Modifications of our products: Beside Joomla/WordPress knowledge, you must also understand CSS and HTML, and/or have some PHP experience. Purpose of this Forum is not teaching HTML, CSS or PHP.

 

Promo code?
Newsletter
Sign up!
FacebookTwitter
Google+Youtube
PinterestRSS
Follow us!