Skip to content

Commit

Permalink
added CDN base URL, switched CDN, prep. for v1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thexmanxyz committed Jun 24, 2019
1 parent 038c94e commit 94b7183
Show file tree
Hide file tree
Showing 19 changed files with 74 additions and 32 deletions.
24 changes: 12 additions & 12 deletions README.md
Expand Up @@ -9,22 +9,22 @@ This project enable control over the default mobile menu behavior within the Gan
* Gantry Templating Framework and Theme

## Download
Choose the correct download for your target platform. The Joomla Plugin System is supported for all Gantry themes globally or locally for the templates Helium and Hydrogen. The latest Atom version is **v1.0.6**.
Choose the correct download for your target platform. The Joomla Plugin System is supported for all Gantry themes globally or locally for the templates Helium and Hydrogen. The latest Atom version is **v1.0.7**.
___
**Default Atom:**
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.EN.v1.0.6.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.IT.v1.0.6.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.DE.v1.0.6.zip)
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.EN.v1.0.7.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.IT.v1.0.7.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.DE.v1.0.7.zip)

**Legacy Atom - Gantry <5.3.2:**
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.legacy.EN.v1.0.6.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.legacy.IT.v1.0.6.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.atom.only.legacy.DE.v1.0.6.zip)
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.legacy.EN.v1.0.7.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.legacy.IT.v1.0.7.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.atom.only.legacy.DE.v1.0.7.zip)

**Joomla Plugin - All Templates (Global):**
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.global.EN.v1.0.6.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.global.IT.v1.0.6.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.global.DE.v1.0.6.zip)
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.global.EN.v1.0.7.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.global.IT.v1.0.7.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.global.DE.v1.0.7.zip)

**Joomla Plugin - Hydrogen:**
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.hydrogen.EN.v1.0.6.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.hydrogen.IT.v1.0.6.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.hydrogen.DE.v1.0.6.zip)
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.hydrogen.EN.v1.0.7.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.hydrogen.IT.v1.0.7.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.hydrogen.DE.v1.0.7.zip)

**Joomla Plugin - Helium:**
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.helium.EN.v1.0.6.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.helium.IT.v1.0.6.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.6/smm.j3.helium.DE.v1.0.6.zip)
[English](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.helium.EN.v1.0.7.zip) / [Italian](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.helium.IT.v1.0.7.zip) / [German](https://github.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/releases/download/v1.0.7/smm.j3.helium.DE.v1.0.7.zip)
___

## Automatic Installation (Joomla only)
Expand Down Expand Up @@ -58,12 +58,12 @@ Please be aware that the template folder path varies in dependence of the used C
4. [Optional] The download package contains the JS file of the project. You can embed it over the backend configuration if you do not want to use the default CDN. If you chose automatic installation the file is already there.

## Supported Parameters and Atom Options
* Memorize Menu Selection
* Switch between Top and Sub Menu Priority
* JS Configuration
* Remote or Local
* Priority and Position (head or footer)
* JS Execution
* Memorize menu selection
* Switch between top and sub menu priority
* JS priority and placement (head or footer)
* JS configuration
* Remote, Local and Default
* JS execution
* Asynchronous
* Deferred

Expand Down
2 changes: 1 addition & 1 deletion build/build.bat
Expand Up @@ -21,7 +21,7 @@ set scr_log_files=0

REM --- project variables ---
set prj_id=smm
set prj_rev=v1.0.6
set prj_rev=v1.0.7
set prj_name=sticky-mobile-menu
set prj_fullname=Sticky Mobile Menu - Atom
set prj_title_hr=-----------------------------
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/global/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Global)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/global/translation/de/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Global)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/global/translation/it/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Global)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/helium/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Helium)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/helium/translation/de/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Helium)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/helium/translation/it/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Helium)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions platform/joomla/hydrogen/sticky-mobile-menu.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Hydrogen)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Hydrogen)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="file" method="upgrade" version="3.0">
<name>Sticky Mobile Menu - Gantry Atom (Hydrogen)</name>
<version>1.0.6</version>
<creationDate>18.06.2019</creationDate>
<version>1.0.7</version>
<creationDate>24.06.2019</creationDate>
<author>Andreas Kar</author>
<authorEmail>andreas.kar@gmx.at</authorEmail>
<authorUrl>https://gantryprojects.com</authorUrl>
Expand Down
Binary file modified screenshots/backend_js.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/default/sticky-mobile-menu.html.twig
Expand Up @@ -23,7 +23,7 @@
{% set jsExecAttr = _self.getJSExecution(jsExec) %}
{% set jsPrior = particle.js.priority|default(0) %}

{% set cdnRepo = 'https://cdn.rawgit.com/thexmanxyz/Sticky-Mobile-Menu-Gantry/fe31b706/src/js' %}
{% set cdnRepo = particle.cdn.base_url|default('https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js') %}
{% set jsPath = _self.getResourceFilePath(particle.js, cdnRepo, 'sticky-mobile-menu', 'js') %}

{% set enableMemory = (particle.memorize == 1 ? "true" : "false") %}
Expand Down
7 changes: 7 additions & 0 deletions src/default/sticky-mobile-menu.yaml
Expand Up @@ -48,6 +48,13 @@ form:
tab_js:
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN Base URL
description: The base URL for the CDN server.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: JS Placement
Expand Down
7 changes: 7 additions & 0 deletions src/default/translation/de/sticky-mobile-menu.yaml
Expand Up @@ -48,6 +48,13 @@ form:
tab_js:
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN Basis URL
description: Die Basis URL für den CDN Server.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: JS Platzierung
Expand Down
7 changes: 7 additions & 0 deletions src/default/translation/it/sticky-mobile-menu.yaml
Expand Up @@ -48,6 +48,13 @@ form:
tab_js:
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN URL di base
description: L'URL di base per il server CDN.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: Posizione JS
Expand Down
7 changes: 7 additions & 0 deletions src/legacy/sticky-mobile-menu.yaml
Expand Up @@ -46,6 +46,13 @@ form:
type: container.set
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN Base URL
description: The base URL for the CDN server.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: JS Placement
Expand Down
7 changes: 7 additions & 0 deletions src/legacy/translation/de/sticky-mobile-menu.yaml
Expand Up @@ -46,6 +46,13 @@ form:
type: container.set
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN Basis URL
description: Die Basis URL für den CDN Server.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: JS Platzierung
Expand Down
7 changes: 7 additions & 0 deletions src/legacy/translation/it/sticky-mobile-menu.yaml
Expand Up @@ -46,6 +46,13 @@ form:
type: container.set
label: JS
fields:
cdn.base_url:
type: input.text
label: CDN URL di base
description: L'URL di base per il server CDN.
placeholder: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js
default: https://cdn.jsdelivr.net/gh/thexmanxyz/Sticky-Mobile-Menu-Gantry/src/js

js.placement:
type: select.select
label: Posizione JS
Expand Down

0 comments on commit 94b7183

Please sign in to comment.