0
Welcome Guest! Login
1 items / $24.00 Checkout

Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 9 months ago
    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 9 months ago
    • Hello? Can someone help with this at all?

      :shock:
    • zeebeest's Avatar
    • zeebeest
    • Jr. Rocketeer
    • Posts: 20
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 9 months ago
    • Hi code7,
      if you are a member of the joomla template club, then take a look at the maelstrom template files.
      If I recall correctly this template has several style sheet files for ie6-ie9 and other browsers.
    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • Hi

      We just use the Gantry framework and make our own templates, it does have style sheets for IE but they do not work.

      Is this not a support forum for paid members?
    • zeebeest's Avatar
    • zeebeest
    • Jr. Rocketeer
    • Posts: 20
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • Did you check the rownumbers of the background-color css statements in the following files:
      template.css or style1.css
      template-ie9.css
      (maybe gantry.css as well? - but don't change anything in there)

      It will always use the one that has the highest row number unless you make one important.
      So you can move the background color statements to a lower row number in the other files (the non ie9 ones) and/or use the !important option in the ie9 css file (check if the other files don't have important in them as well ;-).
    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • If you check the source code in IE though the ie css file is not there, it works OK with Joomla 1.5
    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • Still no help? :cry:
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • Hi there,

      We tend to use the unanswered posts as our first port of call. Your post was answered so fell out of our queue without being addressed by a mod. Apologies.

      I have checked the Gantry templates and the initial call is different to the club templates. Here is a sample of the extra code in the templates....
      <?php
      /**
       * @package Gantry Template Framework - RocketTheme
       * @version ${project.version} ${build_date}
       * @author RocketTheme http://www.rockettheme.com
       * @copyright Copyright (C) 2007 - ${copyright_year} RocketTheme, LLC
       * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
       *
       * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
       *
       */
      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted index access' );
       
      // load and inititialize gantry class
      require_once('lib/gantry/gantry.php');
      $gantry->init();
       
      function isBrowserCapable(){
           global $gantry;
           
           $browser = $gantry->browser;
           
           // ie.
           if ($browser->name == 'ie' && $browser->version < 8) return false;
           
           return true;
      }
       
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      As you can see there is a call to check browser. Perhaps try inserting the extra code into your template and see if that works.

      Hope this helps 8)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • code7's Avatar
    • code7
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Per-Browser Specific Control - Joomla 1.6/1.7 - Internet Exp

    Posted 12 years 8 months ago
    • Hi David

      Thanks for reply, tried that and did not work, getting more info for you prompted me to look at the version of the template, although Gantry and Joomla updates this doesn't obviously, installed the newer version and all working OK!

      I was using rt_gantry_j16-3.2.4 and its now on rt_gantry_j16-3.2.8.

      Does not have that code you mentioned, looks like something to do with IE8 and below, maybe for css3 rendering?

      It is you guys who developed Gantry? We use it a lot....

      Thanks

Time to create page: 0.055 seconds