Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
8b9f0d88
Commit
8b9f0d88
authored
Jan 10, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
product details See merge request manzarH/dic-global-dev!276
parents
5191d4ef
54a91305
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
envigo.theme
themes/custom/envigo/envigo.theme
+5
-0
page--product_details.html.twig
themes/custom/envigo/templates/layout/page--product_details.html.twig
+0
-0
No files found.
themes/custom/envigo/envigo.theme
View file @
8b9f0d88
...
...
@@ -20,3 +20,8 @@ function envigo_preprocess_html(&$variables) {
}
}
function mytheme_theme_suggestions_page_alter(array &$suggestions, array $variables) {
$node = \Drupal::request()->attributes->get('node');
$suggestions[] = 'page--product_details';
}
themes/custom/envigo/templates/layout/page--products.html.twig
→
themes/custom/envigo/templates/layout/page--product
_detail
s.html.twig
View file @
8b9f0d88
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment