0
Welcome Guest! Login
0 items Join Now

Adding a IE7 Unsupported Browser Splash page

    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36748
    • Thanks: 3226
    • Custom work done

    Adding a IE7 Unsupported Browser Splash page

    Posted 6 years 11 months ago
    • Starting with our Kirigami, our August 2012 template release, we added a feature called the "IE7 Splash page". When a user attempted to view the site in a IE7 browser they would be informed that this template was unsupported and they should upgrade their browser for proper viewing.
      This image is hidden for guests.
      Please log in or register to see it.

      This guide is for those members that want to implement this feature on templates prior to Kirigami.
      For my guide I have chosen the J25 Kirigami template.

      So we need two files to accomplish this. From our templates download site http://www.rockettheme.com/joomla-downloads/112-club , download any Standalone template including or AFTER our September 2012 template release, Kirigami.

      In your Kirigami folder ..\templates\rt_kirigami\ we need to place a file called "unsupported.php".
      Locate this file in the Zip file of your downloaded template -> ..\templates\rt_post-
      Fracture_template\unsupported.php
      and copy it to ..\templates\rt_kirigami\.

      Next, n your Kirigami folder ..\templates\rt_kirigami\features we need to place a file called "ie7splash.php".
      Locate this file in the Zip file of your downloaded template -> ..\templates\rt_post-
      Fracture_template\features\
      and copy it to ..\templates\rt_kirigami\features\ie7splash.php.

      Now we have to edit two files. First up is your ..\templates\rt_kirigami\template-options.xml. Open the file in a good text editor like Notepad++ and Find the code "<fieldset name="advanced" label="ADVANCED">"
      This image is hidden for guests.
      Please log in or register to see it.


      Now we'll add this code:
      <field name="ie7splash-enabled" type="toggle" default="1" label="IE7SPLASH" description="IE7SPLASH_DESC"/>
      and when completed, it should look like this:
      This image is hidden for guests.
      Please log in or register to see it.


      Then find in your ..\templates\rt_kirigami\language\en-GB the file "en-GB.tpl_rt_kirigami.ini"
      Look for this code "ADVANCED="Advanced"" and you should find this:
      This image is hidden for guests.
      Please log in or register to see it.


      Next, add this code:
      IE7SPLASH="IE7 Redirect"
      IE7SPLASH_DESC="Enable or disable a redirect to a custom splash page for IE7 visitors indicating the browser is unsupported on this site."
       
      You should end up with this:
      This image is hidden for guests.
      Please log in or register to see it.


      Now go into your Template Manager -> Kirigami - Default -> Advanced -> and make sure that "IE7 ReDirect" is ENABLED.
      This image is hidden for guests.
      Please log in or register to see it.


      You can test your changes by opening your Kirigami website in IE then press F12 in the browser window to activate "Developer Tools" and in the top Menu bar select the dropdown called "Browser Mode" and select IE7.
      Your browser window will reload and now you will see this screen:
      This image is hidden for guests.
      Please log in or register to see it.

Time to create page: 0.089 seconds