problem with joomla in subdirectory

Popular automatic website translation tool

Re: problem with joomla in subdirectory

Postby davide81 » Fri Feb 17, 2012 12:12 pm

I try with it but don't work, the message was object not found error 404.
My full code was:
<iframe width="240" height="1600" scrolling="no" frameborder="no" noresize="noresize"
src="http://www.abruzzoabc.it/$_GET['glang']/abruzzoabc.html"></iframe>
you can see the effect to abruzzoabc.it/pescara.html

I now inserted gtranslate code into abruzzoabc.html (iframe page) to show you that it not work.

can please help me too?
davide81
 
Posts: 10
Joined: Mon Nov 28, 2011 9:22 pm

Re: problem with joomla in subdirectory

Postby davide81 » Sat Feb 18, 2012 3:05 pm

I change gtranslate code in abruzzoabc.html and it translate the iframe part. Now the last problem is only that the iframe not translate togheter the page. You can see it in abruzzoabc.it/pescara.html
If you click on english language to left iframe only that translate. If you click on the english language in the bottom of page, only page translate without iframe.
With src="http://www.abruzzoabc.it/$_GET['glang']/abruzzoabc.html not work as told in my last post.
help me please...
regards
Davide
davide81
 
Posts: 10
Joined: Mon Nov 28, 2011 9:22 pm

Re: problem with joomla in subdirectory

Postby Edvard » Thu Feb 23, 2012 5:43 pm

Hi,

Do you see src="http://www.abruzzoabc.it/$_GET['glang']/abruzzoabc.html in your source code?

You need to parse $_GET variable with PHP. You need to insert it in a PHP file which will be parsed to it's value.

Like src="http://www.abruzzoabc.it/<?php echo $_GET['glang']; ?>/abruzzoabc.html
Regards,

Edvard Ananyan - GTranslate Team
Edvard
Site Admin
 
Posts: 2302
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: problem with joomla in subdirectory

Postby davide81 » Thu Feb 23, 2012 7:47 pm

I removed it becouse I had white iframe with 404 error.
I can't change all pages extension from html to php! there is another solution? My hosting can't process php code into page with .html extensions otherwise I could have used "include". Can I use javascript or an other solution?
davide81
 
Posts: 10
Joined: Mon Nov 28, 2011 9:22 pm

Previous

  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests