|
|
When beginning a office migration into the main Department of Commerce website, a number configurations need to be made to build the office's homepage. 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.
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
1. block--osy-branding-block.html.twig to block--newname-branding-block.html.twig
|
|
|
- In the branding block you will need to update this information to the new office
|
... | ... | @@ -15,6 +17,11 @@ When beginning a office migration into the main Department of Commerce website, |
|
|
|
|
|
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
|
|
|
1. OSY secondary top menu to Newname secondary top menu
|
|
|
|
|
|
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_search_block_fixed_block to newname_search_block_fixed_block
|
|
|
1. osy_mobile_search_block_fixed_block to newname_mobile_search_block_fixed_block
|
|
|
|
... | ... | |