|
|
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 copied and renamed.
|
|
|
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.
|
|
|
|
|
|
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
|
... | ... | @@ -13,7 +13,7 @@ When beginning a office migration into the main Department of Commerce website, |
|
|
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, several fixed blocks need to be developed. The following are the set of files that need to be copied and renamed:
|
|
|
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
|
... | ... | @@ -28,7 +28,7 @@ In this new office website, several fixed blocks need to be developed. The follo |
|
|
|
|
|

|
|
|
|
|
|
In this new office website, several views need to be developed. The following are the set of files that need to be mimicked and renamed:
|
|
|
In this new office website, 2 views need to be developed. The following are the set of files that need to be mimicked and renamed:
|
|
|
|
|
|
1. OSY resources to Newname resources
|
|
|
- This view aggregates nodes into an entitqueue on a block to the right of the front teaser block
|
... | ... | @@ -37,6 +37,11 @@ In this new office website, several views need to be developed. The following a |
|
|
|
|
|

|
|
|
|
|
|
In this new office website, 2 entityqueues need to be developed. The entityqueue allow users to self curate a list. The following are the set of files that need to be mimicked and renamed:
|
|
|
|
|
|
1. OSY frontpage top stories to Newname frontpage top stories
|
|
|
1. OSY Resources to Newname Resources
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |