0
Welcome Guest! Login
0 items Join Now

Gantry 4.1.15 and Fontawesome 3.2.1

    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • hi all,

      in order to get the new font awesome 3.2.1 support which has been included in gantry 4.1.15 to work in our previous templates you will have to edit the ../less/global.less file of your template.

      find:
      @import "jui/less/font-awesome.less";
      and change to:
      @import "jui/less/font-awesome/font-awesome.less";

      please note that this wont automatically work for all of our older templates. it's a pretty dramatic change in format and each template will have to be individually tested and updated as needed.

      kat :)
    • Kat05 / QA Lead & Support / Germany
  • Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • Is there a method to use the font awesome 3.2.1 support in pre-LESS templates like Ximenia?
    • MarioMari's Avatar
    • MarioMari
    • Elite Rocketeer
    • Posts: 513
    • Thanks: 0

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • Hi!

      Joomla! 3.1.5 Gantry v4.1.16, Lumiere v 1.0

      I can use the fonts you see on the list of topic: "Web Application Icons"?
      I can not use fonts FonAwesome version 3.2, is it OK?

      fortawesome.github.io/Font-Awesome/icons/

      Regards!
    • Stijn's Avatar
    • Stijn
    • Rocketeer
    • Posts: 58
    • Thanks: 0

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • Where do I have to place the maps of the Font Awesome .zip in my FTP?
    • MarioMari's Avatar
    • MarioMari
    • Elite Rocketeer
    • Posts: 513
    • Thanks: 0

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • After the last update Gantry I have no problems with the update FontAwesome. It works automatically in the background.
      Thank you.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • hi again,

      the above instructions apply to the following templates, released between
      november 2012 and august 2013, which are:
      praxis
      stratos
      oculus
      hexeris
      alerion
      chapelco
      lumiere
      leviathan
      cerulean
      metropolis

      i will add the instructions for the older templates prior to that tomorrow. :)
    • Kat05 / QA Lead & Support / Germany
    • MarioMari's Avatar
    • MarioMari
    • Elite Rocketeer
    • Posts: 513
    • Thanks: 0

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • Hmm... in Startos sufficed Gantry update available (according to me).
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • placeholder
    • Kat05 / QA Lead & Support / Germany
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • ok, here are the instructions for

      ximenia
      fresco
      voxel
      diametric
      ionosphere
      clarion
      halcyon
      visage
      enigma
      momentum
      radiance
      ...
      (to be continued as i go along and test those for more templates)


      1. please delete the following files:
      /css/font-awesome.css
      /fonts/fontawesome-webfont.eot
      /fonts/fontawesome-webfont.svg
      /fonts/fontawesome-webfont.ttf
      /fonts/fontawesome-webfont.woff


      2. please download the attached file called Archive.zip and unpack it locally.
      the following files/directories are included:
      /css-compiled
      /css-compiled/index.html
      /less
      /less/global.less

      please add those into your template directory.
      for example if you're using ximenia, you should then have:
      ../templates/rt_ximenia/css-compiled
      ../templates/rt_ximenia/css-compiled/index.html
      ../templates/rt_ximenia/less
      ../templates/rt_ximenia/less/global.less


      3. please open the file templateDetails.xml and find:
      <folder>css</folder>
      and change that to:
      <folder>css</folder>
      <folder>css-compiled</folder>

      in the same file please find:
      <folder>lib</folder>
      and change that to:
      <folder>lib</folder>
      <folder>less</folder>


      4. please open the file /features/styledeclaration.php and find:
      function init() {
          global $gantry;
      and change that to:
      function init() {
          global $gantry;
       
          $gantry->addLess('global.less', 'master.css', 8);

      in the same file please find and delete the following line:
      if ($gantry->get('typography-enabled')) $gantry->addStyle('font-awesome.css');

      good luck! :D

      ps: these changes will be added to the next updates of our templates.
    • Kat05 / QA Lead & Support / Germany
  • Re: Gantry 4.1.15 and Fontawesome 3.2.1

    Posted 11 years 2 months ago
    • Thanks Kat,

      As expected this is a little bit of work, but totally FontAwesome :cheesy:

Time to create page: 0.070 seconds