The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Sat Apr 07, 2012 8:32 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
Hi, I hope I posted in the right place.

After I made my site a multilingual site, all languages worked fine.

But I had a problem with the "rtl direction" language;which is: The slideshow module not shown at all when using rtl template

the firebug console debugger shows this message:
Code:
Script suspended on line 1 in anonymous, file "module_name".js
detailed error: 
JCaption is not defined
onClick()                                                                                  /altai...php/ar/ (line 1)
d()                                                                                      mootools-core.js (line 367)
   k = Object { event=Event load, $extended=true, type="load", more...}
e()                                                                                      mootools-core.js (line 368)
   k = Object { event=Event load, $extended=true, type="load", more...}



note: that the slideshow flashes at first then disappear; and when I change the live css to left or right or so....; it comes and goes but not in any acceptable way.

I surfed the internet looking for solution; I didn't find even a tiny clue.

any replays would be appreciated.
great thanks in advance.


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 8:55 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17321
Location: **Translation Matters**
1. Which version of Joomla are you using?
2. Which template ?

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 8:59 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
joomla version: 2.5
template: zt_hemi


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 9:05 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
here is the template demo:
http://www.zootemplate.com/demo25/zt_hemi


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 9:27 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
Hope you take a look a look at the demo.
note that the RTL language works Correctly.

As I think it's a JavaScript thing.
or the module just need to be adjusted for RTL direction.

Any suggestions would be very appreciated :).


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 1:08 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17321
Location: **Translation Matters**
Last Joomla version is 2.5.4
Please update first and test.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 1:42 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
infograf768 wrote:
Last Joomla version is 2.5.4
Please update first and test.


Code:
No updates available

You already have the latest Joomla! version, 2.5.4.


my joomla version up to date.

it looks like a blocked way.
I tried almost every thing

I neeed a solution

the disappoint point here is that this kind problems Appears at last.

I'll keep looking and predicting a clue here.

thnks for your concern ,
waiting & working


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 8:53 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Oct 10, 2007 9:46 am
Posts: 215
Location: Israel, TA
Can I see it in action for debugging purpose?

_________________
http://www.embad.com - new way to insert ads to your website


Top
 Profile  
 
PostPosted: Sun Apr 08, 2012 7:22 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
bad lock, nothing available online for the meantime.

MR. infograf768 I have a question if you may

my problem is a template supports the RTL languages have a mdule _which I added_ not supporting the RTL Direction

I think I need a tow lines of php code will be added to the module which checks the page direction and do the right CSS & JS reassignments, relocation, right to left and Vice versa

may be other possibility which is more common that the positions Conflict with the slideshow, so I need to disable the RTL direction for the slideshow position.

Any help,_even a clue_ would be highly appreciated.


Top
 Profile  
 
PostPosted: Mon Apr 09, 2012 10:23 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17321
Location: **Translation Matters**
If you follow the API and install your css and js files in media/mod_mymodule/...,

Basic code to integrate is something like:

Code:
$lang = JFactory::getLanguage();
if ($lang->isRTL()) {
JHtml::_('stylesheet', 'mod_mymodule/css/mycss.css', array(), true);
JHtml::_('script', mod_mymodule/js/myjs.js', true, true);
}

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Apr 09, 2012 2:33 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 19, 2008 10:18 am
Posts: 116
Location: Alsace
Hi
I had the same issue with my slideshow module, I had to remove the text-align:left; in the css to display the images with RTL
Hope it helps
CEd

_________________
Tutorials, extensions, design and template for Joomla!
http://www.joomlack.fr
Maximenu_CK for drop-down, multicolumn, link description, module loading, and documentation
Template Creator CK - the Joomla! component to create your own templates


Top
 Profile  
 
PostPosted: Tue Apr 10, 2012 6:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
thank you all for your help.
infograf768, I used the first two lines of your code, it worked perfectly
I just needed a clue, and you gave me that.

great thanks.


Top
 Profile  
 
PostPosted: Tue Apr 10, 2012 6:54 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 20, 2011 11:07 am
Posts: 26
ced1870, my site is more complicated than just remove a "text-align" :D
even though i tried :),
thank you very much for your replay, it meant a lot.

kind regards.


Top
 Profile  
 
PostPosted: Sat Sep 14, 2013 8:00 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 16, 2013 6:06 am
Posts: 32
lord alaa wrote:
But I had a problem with the "rtl direction" language;which is: The slideshow module not shown at all when using rtl template
Hello!
Which templates are now RTL compatible?

_________________
I would like to know more Joomla! http://phoneme.ir
http://www.faxphone.ir


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 



Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group