From 0f42d1fc4fce3faddc5ab9bc4dc42aebf193ccf4 Mon Sep 17 00:00:00 2001 From: thex Date: Fri, 25 Oct 2019 00:15:48 +0200 Subject: [PATCH 1/4] fixed Grav engine path in chapter 5.3 --- pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md index 06c87aa..c93ddb1 100644 --- a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md +++ b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md @@ -378,7 +378,7 @@ The `ROOT/user/plugins/gantry5/assets/` directory contains third-party assets us The following directories are rooted in the `ROOT/user/plugins/gantry5/engines/nucleus` directory. This directory houses files that belong to the **Nucleus** engine, which is the core of Gantry 5's layout system. It provides core CSS, layout control, core files for theme creation, etc. -When creating custom copies of these files, you will want to put them in `THEME_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. +When creating custom copies of these files, you will want to put them in `THEME_DIR/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. | Directory | | :------ | From 3f1b9dc5a421921133116f1770c4fa86721a198f Mon Sep 17 00:00:00 2001 From: thex Date: Fri, 25 Oct 2019 13:18:44 +0200 Subject: [PATCH 2/4] updated Grav engine path in chapter 5.3 --- pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md index c93ddb1..714bb1d 100644 --- a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md +++ b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md @@ -378,7 +378,7 @@ The `ROOT/user/plugins/gantry5/assets/` directory contains third-party assets us The following directories are rooted in the `ROOT/user/plugins/gantry5/engines/nucleus` directory. This directory houses files that belong to the **Nucleus** engine, which is the core of Gantry 5's layout system. It provides core CSS, layout control, core files for theme creation, etc. -When creating custom copies of these files, you will want to put them in `THEME_DIR/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. +When creating custom copies of these files, you will want to put them in `user/data/gantry5/themes/THEME_DIR/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. | Directory | | :------ | From 9ece5a914da8606de2a540a618fc70210a581a9b Mon Sep 17 00:00:00 2001 From: thex Date: Fri, 25 Oct 2019 14:02:57 +0200 Subject: [PATCH 3/4] fixed path inconsistencies in 5.3, added ref to 5.6 in 5.3 --- .../05.advanced/03.customizing-theme-files/docs.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md index 714bb1d..d0629ed 100644 --- a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md +++ b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md @@ -26,7 +26,7 @@ In **Hydrogen** the first thing we want to do is add the **Image Picker** to the [ui-tabs position="top-left" active="0"] [ui-tab title="Joomla"] -To do this, you will need to create an override of the `section.yaml` found in `/media/gantry5/engines/nucleus/admin/blueprints/layout/`. To create the override, you will need to copy this file and paste it to `/TEMPLATE_DIR/custom/engine/admin/blueprints/layout/`. +To do this, you will need to create an override of the `section.yaml` found in `ROOT/media/gantry5/engines/nucleus/admin/blueprints/layout/`. To create the override, you will need to copy this file and paste it to `/TEMPLATE_DIR/custom/engine/admin/blueprints/layout/`. [/ui-tab] [ui-tab title="WordPress"] @@ -125,7 +125,7 @@ form: [ui-tabs position="top-left" active="0"] [ui-tab title="Joomla"] -The next thing we need to do is create an override of our existing `section.html.twig` file. This file is located in `/media/gantry5/engines/nucleus/templates/layout`. To create an override for this file which won't be overwritten during a theme update, you will want to copy it and paste it in `/templates/TEMPLATE_DIR/custom/engine/templates/layout`. You will need to create the directory path if it doesn't already exist. +The next thing we need to do is create an override of our existing `section.html.twig` file. This file is located in `ROOT/media/gantry5/engines/nucleus/templates/layout`. To create an override for this file which won't be overwritten during a theme update, you will want to copy it and paste it in `/templates/TEMPLATE_DIR/custom/engine/templates/layout`. You will need to create the directory path if it doesn't already exist. [/ui-tab] [ui-tab title="WordPress"] @@ -332,9 +332,10 @@ The `ROOT/media/gantry5/assets/` directory contains third-party assets used by G The following directories are rooted in the `ROOT/media/gantry5/engines/nucleus` directory. This directory houses files that belong to the **Nucleus** engine, which is the core of Gantry 5's layout system. It provides core CSS, layout control, core files for theme creation, etc. -When creating custom copies of these files, you will want to put them in `TEMPLATE_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. +When creating custom copies of these files, you will want to put them in `TEMPLATE_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. More information on this topic is outline in the [Creating Custom File Overrides](../file-overrides) chapter. | Directory | +|--------------------| | :------ | | admin/blueprints | | layouts | @@ -355,7 +356,7 @@ The `ROOT/wp-content/plugins/gantry5/assets/` directory contains third-party ass The following directories are rooted in the `ROOT/wp-content/plugins/gantry5/engines/nucleus` directory. This directory houses files that belong to the **Nucleus** engine, which is the core of Gantry 5's layout system. It provides core CSS, layout control, core files for theme creation, etc. -When creating custom copies of these files, you will want to put them in `THEME_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. +When creating custom copies of these files, you will want to put them in `THEME_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. More information on this topic is outline in the [Creating Custom File Overrides](../file-overrides) chapter. | Directory | | :------ | @@ -378,7 +379,7 @@ The `ROOT/user/plugins/gantry5/assets/` directory contains third-party assets us The following directories are rooted in the `ROOT/user/plugins/gantry5/engines/nucleus` directory. This directory houses files that belong to the **Nucleus** engine, which is the core of Gantry 5's layout system. It provides core CSS, layout control, core files for theme creation, etc. -When creating custom copies of these files, you will want to put them in `user/data/gantry5/themes/THEME_DIR/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. +When creating custom copies of these files, you will want to put them in `user/data/gantry5/themes/THEME_DIR/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. More information on this topic is outline in the [Creating Custom File Overrides](../file-overrides) chapter. | Directory | | :------ | From c7bd2eef4d199fe4a239792ec02645b784159f91 Mon Sep 17 00:00:00 2001 From: Andreas Kar Date: Fri, 25 Oct 2019 14:09:13 +0200 Subject: [PATCH 4/4] corrected malformed table markup in 5.3 --- pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md index d0629ed..b3e4541 100644 --- a/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md +++ b/pages/01.gantry5/05.advanced/03.customizing-theme-files/docs.md @@ -335,7 +335,6 @@ The following directories are rooted in the `ROOT/media/gantry5/engines/nucleus` When creating custom copies of these files, you will want to put them in `TEMPLATE_DIR/custom/engine/` to indicate that these are engine-specific directories and not part of the theme-specific data. More information on this topic is outline in the [Creating Custom File Overrides](../file-overrides) chapter. | Directory | -|--------------------| | :------ | | admin/blueprints | | layouts |