|
|
When beginning a Department of Commerce (DOC) office migration into the main DOC website, a number of configurations need to be made to build the office's homepage.
|
|
|
When beginning a Department of Commerce (DOC) office migration into the main DOC website, a number of configurations need to be made to build the office's homepage and interior pages.
|
|
|
|
|
|
First, two twig files need to be developed. These files can be found in /themes/custom/commerce/templates. The most efficient approach is to copy an existing office twig file and rename it to the appropriate new office. For example I will use OSY's twig files. The following are the set of files that need to be mimicked and renamed.
|
|
|
|
... | ... | @@ -15,6 +15,12 @@ First, two twig files need to be developed. These files can be found in /themes/ |
|
|
2. page--osy.html.twig to page--newname.html.twig
|
|
|
- In the page template you just need to change the name
|
|
|
|
|
|
In this new office website, there 3 menus that need to to be developed. The following are the set of files that need to be renamed and menus added based upon the client's specifications:
|
|
|
|
|
|
1. OSY main navigation to Newname main navigation
|
|
|
1. OSY secondary top menu to Newname secondary top menu
|
|
|
1. OSY footer to Newname footer
|
|
|
|
|
|
In this new office website, several fixed blocks need to be developed. The following are the set of files that need to be mimicked and renamed:
|
|
|
|
|
|
1. OSY main navigation to Newname main navigation
|
... | ... | |