Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • imcririna43 Friend
    #150517

    Hello

    I am using template JA Seleni2.
    Vista-IE8

    Under IE8 on each page of my site there popup IE Warning.

    I removed the popup, so i don’t nave problem, but my question: how is it possible that warning aparaisse in other vertion of IE (in my case – IE8)?

    Thanks,

    Irina

    Saguaros Moderator
    #341277

    Dear imcririna43!

    Please open the file: templatesja_selenilibsja.template.helper.php and try to find code:
    [PHP]
    $msie=’/msies(7|8.[0-9]).*(win)/i’;
    if (preg_match($msie,$agent)) $browser = ‘IE7′;
    [/PHP]

    and replace:

    [PHP]
    $msie=’/msies(7|8.[0-9]).*(win)/i’;
    if (preg_match($msie,$agent, $match)) { $browser = ‘IE’.(int)$match[1];
    }
    [/PHP]

    and Open the file: templatesja_selenilayoutsdefault.php and find code:
    [PHP]
    <?php if ($this->isIE6()) : ?>
    <?php $this->loadBlock(‘ie6/ie6warning’) ?>
    <?php endif; ?>

    [/PHP]

    replace:
    [PHP]
    <?php if ($this->browser() == ‘IE8’) : ?>
    <?php $this->loadBlock(‘ie6/ie6warning’) ?>
    <?php endif; ?>
    [/PHP]

    Good luck

    imcririna43 Friend
    #341355

    Hello, thank you for your reply.

    In fact, I would like to completely delete IE6 a pop, so I deleted :

    layout/default.php:
    <?php if ($this->isIE6()) : ?>
    <?php $this->loadBlock(‘ie6/ie6warning’) ?>
    <?php endif; ?>

    and I deleted :
    css/ie.css:
    *html #ja-wrapper { margin-top: 205px; }

    Is it not correct and I have yet to change the code that you advised me ????

    Lien vers mon site : http://afm-consulting.be/

    Saguaros Moderator
    #341606

    Dear imcririna43!

    With above code is using for display the IE message when client opened the site on the IE8, i think you should give me detail about which ie versions you would like to show the message, i give you the detail solution

    thanks

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum