Question on blank lines in head tag for GTranslate Pro

Popular automatic website translation tool

Question on blank lines in head tag for GTranslate Pro

Postby nemmar » Sun Dec 04, 2011 9:24 pm

Edvard,

You installed GTranslate Pro on my site for me. I noticed there are about 14 blank lines before and after the Gtranslate stype tag in the head tag of the pages. How can I remove those un-necessary blank lines?
Here is what it looks like in the page source code:

Code: Select all
</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  <style type="text/css">

        a.flag {font-size:24px;padding:1px 0;background-repeat:no-repeat;background-image:url('/modules/mod_gtranslate/tmpl/lang/24a.png');}
        a.flag:hover {background-image:url('/modules/mod_gtranslate/tmpl/lang/24.png');}
        a.flag img {border:0;}
        a.alt_flag {font-size:24px;padding:1px 0;background-repeat:no-repeat;background-image:url('/modules/mod_gtranslate/tmpl/lang/alt_flagsa.png');}
        a.alt_flag:hover {background-image:url('/modules/mod_gtranslate/tmpl/lang/alt_flags.png');}
        a.alt_flag img {border:0;}
   
  </style>
 
 
 
 
 
 
 
 
 
 
 
 
  <script type="text/javascript">
nemmar
 
Posts: 26
Joined: Thu Oct 06, 2011 3:16 am

Re: Question on blank lines in head tag for GTranslate Pro

Postby Edvard » Mon Dec 05, 2011 10:33 pm

Please check your template. The blank lines should be there.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Question on blank lines in head tag for GTranslate Pro

Postby nemmar » Tue Dec 06, 2011 3:53 am

Edvard wrote:Please check your template. The blank lines should be there.


I checked the RocketTheme template in the Template Manager and there's nothing there related to GTranslate and there are no blank lines in the template.

Do you have any other advice on how to fix this?
nemmar
 
Posts: 26
Joined: Thu Oct 06, 2011 3:16 am

Re: Question on blank lines in head tag for GTranslate Pro

Postby Edvard » Tue Dec 06, 2011 4:53 pm

Hi,

Please remove the language selector from your site to check if the blank lines come with the language selector or not.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Question on blank lines in head tag for GTranslate Pro

Postby nemmar » Tue Dec 06, 2011 5:28 pm

Edvard,

I disabled the language selector on the site and there still is 15 blank lines before and after the following GTranslate <style> tag.

Code: Select all
  <style type="text/css">

  </style>


The GTranslate lines of code don't display inside that <style> tag when I have the language selector disabled. But the problem must be caused by the GTranslate <style> tag and is adding 15 blank lines before and after this tag. So there must be somewhere in the GTranslate templates/files where these blank lines are coming from.

Let me know what advice you have.
Thanks.
nemmar
 
Posts: 26
Joined: Thu Oct 06, 2011 3:16 am

Re: Question on blank lines in head tag for GTranslate Pro

Postby Edvard » Tue Dec 06, 2011 5:43 pm

If you can give me access I will be able to look into, but I'm sure that it is not caused by gtranslate.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

2GLux
cron