Problem with Joomla and Modal

Popular automatic website translation tool

Problem with Joomla and Modal

Postby domingogbr » Tue Apr 16, 2013 4:03 pm

Hi!,
Firstly sorry by my english, I will try to explain better i can.
I'm working with 1.5 joomla and i try to use your excellent module for translation, but I've some troubles with my modals windows.
My web is a Spanish web, but I need translate it. I am using class modal to show some news, is a box which shows one of the articles that i have written previously, but my problem is that whatever there're into the box gtranslate doesnt work. I mean, the box show my spanish article but i need that Gtranslate will translate it.

I hope you can understandme.
Thank'u.
domingogbr
 
Posts: 4
Joined: Tue Apr 16, 2013 3:53 pm

Re: Problem with Joomla and Modal

Postby Yana » Tue Apr 16, 2013 4:54 pm

Hi,
If you are using iframe you cannot translate the iframe content, but if you are able to get the source code by php and display it on your site as an own content, then it will work.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Problem with Joomla and Modal

Postby domingogbr » Tue Apr 16, 2013 5:55 pm

Hi,
You're right this is the sentece that I use to show my content:
<div id="sbox-content" style="visibility: visible; zoom: 1; opacity: 1;" class="sbox-content-iframe"><iframe src="" frameborder="0" width="850" height="700"></iframe></div>

How could I change the source to use php and make it posible translate the box?

Thank'u
domingogbr
 
Posts: 4
Joined: Tue Apr 16, 2013 3:53 pm

Re: Problem with Joomla and Modal

Postby domingogbr » Tue Apr 16, 2013 6:22 pm

Hi,
I get solve my trouble, Show with and example:
<a href="" rel="{handler: 'iframe'}" class="modal"><img alt="Read +" src="templates/sportline/images/btn_read_more_ltl.jpg"></a>

I have this sentence, but if i erase this part : "{handler: 'iframe'}" which is in 'rel' option, gTranslate work perfectly.

Thank'u for all.
domingogbr
 
Posts: 4
Joined: Tue Apr 16, 2013 3:53 pm

Re: Problem with Joomla and Modal

Postby Yana » Tue Apr 16, 2013 6:28 pm

Good to hear that!
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux