0
Welcome Guest! Login
0 items Join Now

IMPORTANT: Gantry 4 Feature Requests

    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • what would that be good for?
  • Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Ali Samii wrote:
      Hi:

      I wanted to suggest that the next version of the Gantry framework have built-in functionality allowing opt-in/opt-out for Cookies according to the so called "EU Cookie Law".

      The Gavern Framework from Gavick has implemented exactly what I mean www.gavick.com/documentation/joomla-temp...omla-1-6/cookie-law/

      The Cookie law, officially the "EU Directive on Privacy and Electronic Communications" came into effect on 26 May, 2012 and affects anyone whose web sites place cookies on the users computers (essentially, all web sites) and whose audience is in the European Union.

      Although there are a number of extensions available on the JED ( extensions.joomla.org/extensions/site-management/cookie-control ), having the functionality integrated into the framework would be ideal. Some of the plugins seem to cause conflicts with Gantry, others seem to not work well. All in all, they are not well implemented.

      This would be good.
    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Hi Henning.

      I can see the benefit of turning the LESS compiler off. If you are using a 3rd party software such as LiveReload, CodeKit or some other dynamic compiler, there is no benefit to having the code compile through the framework. It also can alleviate some server resources (although that benefit is minimal).
    • Thank you.

      Ali Samii
    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Another option to consider is to implement a feature to input TypeKit Kit IDs.

      TypeKit (and WebInk) are becoming more and more popular, and simplifying the integration of these premium fonts would be great.
    • Thank you.

      Ali Samii
    • Birger Kvam's Avatar
    • Birger Kvam
    • Sr. Rocketeer
    • Posts: 116
    • Thanks: 0
    • Web developer/designer

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Birger,

      The compiler is there to allow users to be able to modify existing .less files with new style attributes and declarations or to create new .less files. So, the compiler is useful for those who know .less syntax but do not use a compiler on their machine to compile the code.

      However, I agree with you that allowing users to disable the functionality is useful if the developer or web designer is using a stand-alone compiler.
    • Thank you.

      Ali Samii
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Because its compiles only once ... it's not compiling on every page load.
      We are using the php version of the less compiler not the js version.
      If your site is finished and everything is set up it wont compile at all.
      Its just using the css in the compiled-css folder.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • if you dont want to use the less-compiler in Gantry and you are using CodeKit I suggest to link the compiled css file via the gantry functions for css like
      $gantry->addStyles(array('blah.css','blahblah.css'));
    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • Henning, would that be replacing lines 30 and 31 in the index.php file

      $gantry->addStyle('grid-responsive.css', 5);
      $gantry->addLess('global.less', 'master.css', 8, array('headerstyle'=>'"header-'.$gantry->get('headerstyle','dark').'.less"'));

      with the above suggested array?

      Or is this in addition?
    • Thank you.

      Ali Samii
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: IMPORTANT: Gantry 4 Feature Requests

    Posted 12 years 1 month ago
    • I really wouldn't suggest to go that way. You would loose one of the greatest advantages of the less-feature in gantry ... passing variables from the template-settings into the less-file.
      As you can see from the global less file its expecting something. I tried the lessapp/codekit+LiveReload ... but I couldn't really see that it would speed up my workflow.
      Personally I use Espresso and Sublime Text 2 and Gantry. But different people ... different workflows.

Time to create page: 0.048 seconds