Giter Site home page Giter Site logo

tpl_lyquix's Introduction

Lyquix Joomla Template 2.x

@version 2.2.2

What is this?

We started development of our Joomla template in 2014, for use in our client projects. The goals of this template are:

  1. Best Practices: the template provides a base HTML/CSS/JavaScript foundation that implements best practices we have learned over the years.
  2. Code Reuse and Consistency: we don't want to re-invent (and re-type) code for every project, this template is built with re-usability and consistency in mind.
  3. Flexibility: every project has a unique design, and this template provides full flexibility of layout, styling, and functionality.
  4. Updates: the template allows to update the core files to fix bugs and add improvements without affecting the customizations of your project.

Is this template for you?

This template is intended for advanced developers, or those looking to learn advanced template development.

If you are looking for a "one-click & go" template, this is not for you. After you first install this template you will see a blank page with an error message on your homepage.

This template is intended to be the foundation for developers that build custom templates from scratch. This is not a pre-made template that looks pretty and you tweak to fit your design.

Features

Responsive Framwork

  • Defines 5 screen sizes, we call them xs, sm, md, lg and xl, and they have very simple breakpoints: 320px, 640px, 960px, 1280px and 1600px.
  • If needed, it is possible to configure fewer screens or different breakpoints.
  • Containers width, max-width, and margins can be customized per-screen.
  • Blocks are fluid and their width is defined as fraction or percentage of the parent element. Block sizes can be defined per-screen.
  • All elements are set to box-sizing: border-box.
  • Several utility classes for managing layout, including CSS grid, and flexbox.
  • Responsive CSS is accomplished by using the screen attribute in the body tag body[screen=sm], instead of media queries.
  • Developed using SASS.
  • Normalizes default CSS stylesheet across browsers.
  • Easily setup the base styles of your site by configuring variables.
  • Save time by using hundreds of common utility classes available in the CSS library:
    • Styles for HTML elements
    • Responsive layout: blocks, containers, CSS grid, and flexbox
    • Floating, clearing
    • Show/hide per screen size and device type
    • Text styles
    • Colors and filters
    • Menus, accordions, and tabs
    • Styles for printing
  • Choose what components of the library to include in your project
  • lyquix.js, our library of scripts includes the following functionality
    • Custom events: lqxready, resizethrottle, scrollthrottle, geolocateready
    • Simple implementation of mutation handlers
    • Detection of OS, device type, browser type/version, URL parts, and URL parameters
    • Support functionality for accordions, tabs, menus, lightboxes, and popups
    • Analytics functions to track outbound links, download links, active time, scroll depth, video usage, rage clicks, JavaScript errors
    • Geolocation using IP address or GPS, utility functions to test location against circle, square, and polygon regions
    • Autoresize textarea, input and select elements to display values
    • Fit text to specific number of lines
    • Utility functions: cookies, swipe detection, unique URLs to prevent caching, sprintf porting, encryption, decryption
    • Adds new functions to the String prototype: capitalize, slugify, latinize, camel case, kebab case, snake care, and detection of useful patterns like credit cards, email, SSN, URL, US phone, and ZIP code
  • Uses polyfill.io to automatically load JS polyfills, customized for each browser type and version
  • Choose what modules of the library to include in your project.

Template Options

  • Blank page option: equivalent to tmpl=component, allows to set a template style where the only content in the <body> tag is the component output
  • Several pre-configured module positions
  • Set Google Analytics account and Google/Yahoo/Bing site verification tags via template configuration
  • Control what Joomla JavaScript frameworks to enable/disable
  • Select maximum and minimum screen sizes for responsive framework
  • List additional CSS and JavaScript library URLs to load (either local or remote)
  • Select use of original or minified CSS and JS files
  • Merged CSS and JS files concatenate multiple CSS and JS libraries into single files
  • Load optional JS libraries: loDash, polyfill.io, SmoothScroll, dotdotdot, Moments.js
  • Load optional CSS libraries: Animate.css

IE Support

  • Only IE11 is supported. We were hoping to stop supporting IE11 by July 2018, but here we are.
  • Sets X-UA-Compatible tag
  • The lyquix.js detect functionality adds classes to body tag that identify browser type and version
  • Fixes for IE11
    • Adds width attribute to images when missing
    • Reverts font-features to normal to prevent issues with Google Fonts
    • Attempts to fix CSS grids
  • Option to display outdated browser alert on selected IE versions

Other Features

  • Favicons: when present in folder images/favicon/ it automatically loads favicons into the <head> tag.
  • Shell scripts for processing CSS and JS files.
  • Comicfy and Almost7: add comicfy or almost7 URL parameter to have some fun.
  • Joomla overrides: system messages, module wrappers, pagination links, and new Raw style for Custom HTML module.
  • Raw template: add tmpl=raw URL parameter to output only the component.

Documentation

To Do and Ideas

Refer to the Issues in this repo

tpl_lyquix's People

Contributors

rubenreyes2000 avatar lyquix-owner avatar maustin92 avatar marioborras avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.