-
AuthorPosts
-
February 26, 2010 at 6:06 pm #149054
40%off all visitors on our website use IE6 and the message is intrusive.
Thanks!histeriks Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
February 26, 2010 at 8:33 pm #334059qualitag;16671840%off all visitors on our website use IE6 and the message is intrusive.
Thanks!Hi qualitag,
i guess the fastest way to disable it would be to open the default.php file, located in site_root/templates/ja_kyanite_ii/layouts/ directory, and comment out lines 89 to 91, or simply delete them. This is what you should comment out:
[php]<?php if ($this->isIE6()) : ?>
<?php $this->loadBlock(‘ie6/ie6warning’) ?>
<?php endif; ?>[/php]As i recall, there were other, cleaner ways to disable that message in certain templates, it involved providing some parameters in the params.ini or something similar, but i can’t remember anymore, it was a long time ago…
Anyway, it works this way too.Hope this helps 🙂
1 user says Thank You to histeriks for this useful post
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
February 26, 2010 at 8:33 pm #3340601 user says Thank You to John Wesley Brett for this useful post
March 1, 2010 at 9:12 pm #334250Thanks forr your help Histeriks and Jbrett!
When I comment the lines, it’s appear /* */ on the template!
Ihave simply delete it and it’s ok now.
Regards.
fazk Friendfazk
- Join date:
- July 2010
- Posts:
- 32
- Downloads:
- 1
- Uploads:
- 6
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
July 26, 2010 at 10:05 am #350716Dear John,
Thank you for your instruction and I followed your advice, it seems the IE6 warning is gone, but on the top of the web there is a blank area, how to delete it. Please use IE 6 to take a look at: http://www.hospitalitysuppliers.asia.
Thank you!
Best regards,
Fran
July 26, 2010 at 10:39 am #350725Hello Fazk,
Everything is ok on your website!
Clean the cache on firefox and joomla and try again.
Regards.Sorry, now I see the problem with IE 6.
It is not a problem with IE6 warning.
So, try to inactive module one by one and see the result…fazk Friendfazk
- Join date:
- July 2010
- Posts:
- 32
- Downloads:
- 1
- Uploads:
- 6
- Thanks:
- 2
- Thanked:
- 3 times in 1 posts
July 26, 2010 at 1:30 pm #350738Yes, I tried to inactive the module one by one but the problem still exist, could you please check and give me a instruction again?
Thanks a lot!
Fran
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
July 26, 2010 at 2:51 pm #350746You have not effectively followed the instructions to remove the IE6 warning…as it appeared immediately upon opening your site.
Please try again: http://www.joomlart.com/forums/showthread.php?37124-Removing-old-browser-warning&p=166728&viewfull=1#post166728The IE6 warning cannot be turned off as you would a module because it is not a module. It is hard coded into the template proper.
Give it another go.
Have fun!
John.July 26, 2010 at 3:41 pm #3507521) site_root/templates/ja_kyanite_ii/layouts/default.php
delete lines 89 to 91PHP Code:
<?php if ($this->isIE6()) : ?>
<?php $this->loadBlock(‘ie6/ie6warning’) ?>
<?php endif; ?>2) Delete line 30 on template IE.CSS : /Templates/tpl_kyanite_ii/css/ie.css :
PHP Code:
*html #ja-wrapper { margin-top: 205px; } -
AuthorPosts
This topic contains 9 replies, has 4 voices, and was last updated by qualitag 14 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum