0
Welcome Guest! Login
0 items Join Now

Including IE7 in the IE6 warning plugin

    • Andrew_Smith's Avatar
    • Andrew_Smith
    • Jr. Rocketeer
    • Posts: 40
    • Thanks: 0
    • Freelance Web Site Creator & Online Entreprenuer

    Including IE7 in the IE6 warning plugin

    Posted 14 years 1 month ago
    • Is it possible to extend the IE6 warning to include IE7 as well...I am not a fan of IE7 and the problems I am continually ironing out with margins etc.

      Ideally I would like to have the IE6 warning to also come up when an IE7 user logs on to the site. Where can I change this?

      Cheers,

      Andy
    • I tweet @andy_smiff and blog at andysmiff.tumblr.com
      Design by Andy Smiff Web Designer Scotland , powered by Joomla! and Gantry
    • Andrew_Smith's Avatar
    • Andrew_Smith
    • Jr. Rocketeer
    • Posts: 40
    • Thanks: 0
    • Freelance Web Site Creator & Online Entreprenuer

    Re: Including IE7 in the IE6 warning plugin

    Posted 14 years 1 month ago
  • Re: Including IE7 in the IE6 warning plugin

    Posted 13 years 8 months ago
    • I need this feature too and changed in ie6warn.php the line
      if ($gantry->browser->name == 'ie' && $gantry->browser->shortversion == '6'))

      to
      if ($gantry->browser->name == 'ie' && ($gantry->browser->shortversion == '6' || $gantry->browser->shortversion == '7'))

      but it does not work for IE7.

      Please help.
  • Re: Including IE7 in the IE6 warning plugin

    Posted 13 years 8 months ago
    • I would also find this helpful. Please help us!
  • Re: Including IE7 in the IE6 warning plugin

    Posted 13 years 8 months ago
    • Since there is no help from RT I use now a solution from Microsoft:
      <script src="http://www.microsoft.com/germany/msdn/components/ie/ieinfobar.js" type="text/javascript">
            <!--mce:0-->
          </script>

      The code has to be implemented after the <body> tag and work fine for me.

      See also here: garmahis.com/tools/ie6-update-warning/

      Peter
    • Mr Toast's Avatar
    • Mr Toast
    • Sr. Rocketeer
    • Posts: 152
    • Thanks: 0
    • Wanderer, philanderer, occasional web monkey

    Re: Including IE7 in the IE6 warning plugin

    Posted 13 years 4 months ago
    • I decided just to target all IE versions. It's my stand against crapness!

      Make this:

      if (JRequest::getString('tmpl')!='unsupported' && $gantry->browser->name == 'ie' && $gantry->browser->shortversion == '6') {
      header("Location: ".$gantry->baseUrl."?tmpl=unsupported");
      }

      Look like this:


      if (JRequest::getString('tmpl')!='unsupported' && $gantry->browser->name == 'ie') {
      header("Location: ".$gantry->baseUrl."?tmpl=unsupported");
      }
    • Cheers,
      Mr Toast says... keep toasting!
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Including IE7 in the IE6 warning plugin

    Posted 13 years 4 months ago
    • function init() {
      global $gantry;

      if (JRequest::getString('tmpl')!='unsupported' && $gantry->browser->name == 'ie' && ($gantry->browser->shortversion == '6' || $gantry->browser->shortversion == '7') ) {
      header("Location: ".$gantry->baseUrl."?tmpl=unsupported");
      }
      }

      would target ie7 and ie6.

      I believe the error the Peter made was to test it on
      someurl/?tmpl=unsupported
      But you have to test it on
      someurl/
    • Scarfe's Avatar
    • Scarfe
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Including IE7 in the IE6 warning plugin

    Posted 12 years 2 months ago
    • With the Kirigami template, where would I find the ie6warn.php file to make the modification?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Including IE7 in the IE6 warning plugin

    Posted 12 years 2 months ago
    • I think Kirigami has already included ie7 ... (check latest 1.2)?
    • Scarfe's Avatar
    • Scarfe
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Including IE7 in the IE6 warning plugin

    Posted 12 years 2 months ago
    • Thanks Henning for your reply.

      I installed version 1.2 of Kirigami, but am not seeing any kind of template warning when testing in IE7 (using IETester). I also can't find any unsupportedredirect.php file in the template's feature's folder.

Time to create page: 0.063 seconds