From 95d3a6d010ee00653774ea9c59bb143d348db8c1 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Fri, 28 Jul 2023 10:20:02 -0600 Subject: [PATCH 1/2] Update field.field.node.stanford_event.su_event_type.yml with correct user guide link --- config/sync/field.field.node.stanford_event.su_event_type.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sync/field.field.node.stanford_event.su_event_type.yml b/config/sync/field.field.node.stanford_event.su_event_type.yml index 3400a5658..edee8b4ba 100644 --- a/config/sync/field.field.node.stanford_event.su_event_type.yml +++ b/config/sync/field.field.node.stanford_event.su_event_type.yml @@ -11,7 +11,7 @@ field_name: su_event_type entity_type: node bundle: stanford_event label: 'Event Types' -description: 'Add all Event Type terms for this event. Note: Only the first selected term will be displayed to the end-users. The complete list of terms will be displayed at the end of the event page. How to add, edit and delete event terms.' +description: 'Add all Event Type terms for this event. Note: Only the first selected term will be displayed to the end users. The complete list of terms will be displayed at the end of the event page. How to add, edit and delete event terms.' required: false translatable: false default_value: { } From e62abad10596770c2390ed78467d6da676d0a7b0 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 12 Sep 2023 10:45:02 -0600 Subject: [PATCH 2/2] D8CORE-6843: Removed bad links in User Guide. Updated most. --- ...d.field.config_pages.lockup_settings.su_lockup_enabled.yml | 2 +- ...onfig_pages.stanford_global_message.su_global_msg_type.yml | 2 +- ...nfig_pages.stanford_local_footer.su_local_foot_use_loc.yml | 2 +- config/sync/field.field.node.stanford_news.su_news_topics.yml | 2 +- ...ield.node.stanford_publication.su_publication_citation.yml | 2 +- ....field.node.stanford_publication.su_publication_topics.yml | 2 +- .../field.field.paragraph.stanford_entity.su_entity_item.yml | 2 +- .../field.field.paragraph.stanford_lists.su_list_view.yml | 2 +- config/sync/migrate_plus.migration.stanford_publications.yml | 2 +- src/Plugin/HelpSection/ProfileHelpSection.php | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config/sync/field.field.config_pages.lockup_settings.su_lockup_enabled.yml b/config/sync/field.field.config_pages.lockup_settings.su_lockup_enabled.yml index f37716fbb..3dd6393ee 100644 --- a/config/sync/field.field.config_pages.lockup_settings.su_lockup_enabled.yml +++ b/config/sync/field.field.config_pages.lockup_settings.su_lockup_enabled.yml @@ -10,7 +10,7 @@ field_name: su_lockup_enabled entity_type: config_pages bundle: lockup_settings label: 'Use Default Lockup' -description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\nThe lockup will only change the look. Remember to change the name of your site as well. For instructions, see the user guide.\r\n" +description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\nThe lockup will only change the look. Remember to change the name of your site as well. For instructions, see the user guide.\r\n" required: false translatable: false default_value: diff --git a/config/sync/field.field.config_pages.stanford_global_message.su_global_msg_type.yml b/config/sync/field.field.config_pages.stanford_global_message.su_global_msg_type.yml index 7fa83b3ea..ee2973ea4 100644 --- a/config/sync/field.field.config_pages.stanford_global_message.su_global_msg_type.yml +++ b/config/sync/field.field.config_pages.stanford_global_message.su_global_msg_type.yml @@ -12,7 +12,7 @@ field_name: su_global_msg_type entity_type: config_pages bundle: stanford_global_message label: 'Message Type' -description: "Select the display of the message. You can see examples in the user-guide.\r\n" +description: "Select the display of the message. You can see examples in the user-guide.\r\n" required: true translatable: false default_value: diff --git a/config/sync/field.field.config_pages.stanford_local_footer.su_local_foot_use_loc.yml b/config/sync/field.field.config_pages.stanford_local_footer.su_local_foot_use_loc.yml index 43553daa2..e4e303aec 100644 --- a/config/sync/field.field.config_pages.stanford_local_footer.su_local_foot_use_loc.yml +++ b/config/sync/field.field.config_pages.stanford_local_footer.su_local_foot_use_loc.yml @@ -10,7 +10,7 @@ field_name: su_local_foot_use_loc entity_type: config_pages bundle: stanford_local_footer label: 'Use Default Lockup' -description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\nThe lockup will only change the look. Remember to change the name of your site as well. For instructions, see the user guide.\r\n" +description: "Uncheck this box if you want to replace the default lock-up settings with a custom logo or text. This custom logo will appear in the top left corner of the website's main header.\r\nThe lockup will only change the look. Remember to change the name of your site as well. For instructions, see the user guide.\r\n" required: false translatable: false default_value: diff --git a/config/sync/field.field.node.stanford_news.su_news_topics.yml b/config/sync/field.field.node.stanford_news.su_news_topics.yml index 7fa1db436..dca97be08 100644 --- a/config/sync/field.field.node.stanford_news.su_news_topics.yml +++ b/config/sync/field.field.node.stanford_news.su_news_topics.yml @@ -11,7 +11,7 @@ field_name: su_news_topics entity_type: node bundle: stanford_news label: 'News Types' -description: 'Add all News Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. How to add, edit and delete news terms.' +description: 'Add all News Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. How to add, edit and delete news terms.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.node.stanford_publication.su_publication_citation.yml b/config/sync/field.field.node.stanford_publication.su_publication_citation.yml index 7394e174a..da3518037 100644 --- a/config/sync/field.field.node.stanford_publication.su_publication_citation.yml +++ b/config/sync/field.field.node.stanford_publication.su_publication_citation.yml @@ -15,7 +15,7 @@ field_name: su_publication_citation entity_type: node bundle: stanford_publication label: 'Citation information' -description: 'Choose a type of publication item to display. You can preview display options in the user-guide.' +description: 'Choose a type of publication item to display.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.node.stanford_publication.su_publication_topics.yml b/config/sync/field.field.node.stanford_publication.su_publication_topics.yml index 211506fe9..011096166 100644 --- a/config/sync/field.field.node.stanford_publication.su_publication_topics.yml +++ b/config/sync/field.field.node.stanford_publication.su_publication_topics.yml @@ -11,7 +11,7 @@ field_name: su_publication_topics entity_type: node bundle: stanford_publication label: 'Publication Types' -description: 'Add all Publication Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the article page. How to add, edit and delete publication terms.' +description: 'Add all Publication Type terms for this article. Note: Only the top three selected terms will be displayed to the end-users. The complete list of terms will be displayed at the end of the publication page. How to add, edit and delete publication terms.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.paragraph.stanford_entity.su_entity_item.yml b/config/sync/field.field.paragraph.stanford_entity.su_entity_item.yml index 7e6ff5608..ef5eeb360 100644 --- a/config/sync/field.field.paragraph.stanford_entity.su_entity_item.yml +++ b/config/sync/field.field.paragraph.stanford_entity.su_entity_item.yml @@ -17,7 +17,7 @@ field_name: su_entity_item entity_type: paragraph bundle: stanford_entity label: 'Content Item(s)' -description: 'Start typing the title of the piece of content to select it. You can add multiple items to create a curated list of teaser items. Learn more about the Teaser Paragraph in the user-guide.' +description: 'Start typing the title of the piece of content to select it. You can add multiple items to create a curated list of teaser items. Learn more about the Teaser Paragraph in the user-guide.' required: false translatable: false default_value: { } diff --git a/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml b/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml index e2a8e5596..7f349b0ac 100644 --- a/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml +++ b/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml @@ -12,7 +12,7 @@ field_name: su_list_view entity_type: paragraph bundle: stanford_lists label: 'List Format' -description: 'Main display options for items presented in the list view. Use the settings under Advance Options to customize the list by taxonomy terms and change the number of items displayed in the list. Learn more about display options in the user-guide.' +description: 'Main display options for items presented in the list view. Learn more in the section on Advanced Options to customize the list by taxonomy terms and change the number of items displayed in the list.' required: false translatable: false default_value: { } diff --git a/config/sync/migrate_plus.migration.stanford_publications.yml b/config/sync/migrate_plus.migration.stanford_publications.yml index 2c0b3d393..131a099a4 100644 --- a/config/sync/migrate_plus.migration.stanford_publications.yml +++ b/config/sync/migrate_plus.migration.stanford_publications.yml @@ -15,7 +15,7 @@ label: 'Publications Importer (experimental)' source: plugin: csv csv_help: - - 'CAUTION: Be sure to visit our user-guide to learn more about working with this CSV template.' + - 'CAUTION: Be sure to visit our user-guide to learn more about working with this CSV template.' path: /tmp/foo.csv ids: - id diff --git a/src/Plugin/HelpSection/ProfileHelpSection.php b/src/Plugin/HelpSection/ProfileHelpSection.php index 874b56588..dfecc815f 100644 --- a/src/Plugin/HelpSection/ProfileHelpSection.php +++ b/src/Plugin/HelpSection/ProfileHelpSection.php @@ -41,7 +41,7 @@ public function listTopics() { protected function getUserGuide() { $help = '

' . $this->t('Stanford Sites User Guide') . '

'; $help .= '

' . $this->t('Everything you need to know about how to use, maintain, and launch your Website.') . '

'; - $help .= self::getLinkString($this->t('User Guide'), 'https://userguide.sites.stanford.edu', TRUE); + $help .= self::getLinkString($this->t('User Guide'), 'https://sitesuserguide.stanford.edu', TRUE); return ['#markup' => $help]; } @@ -55,7 +55,7 @@ protected function getLaunchWebsite() { $help = '

' . $this->t('Ready to Launch?') . '

'; // @TODO: Update link when launch process guide is available. $help .= '

' . $this->t('Learn about the launch process, review the final checklist, and submit a request to launch.') . '

'; - $help .= self::getLinkString($this->t('Website launch process'), 'https://userguide.sites.stanford.edu/support/launching-your-site', TRUE); + $help .= self::getLinkString($this->t('Website launch process'), 'https://sitesuserguide.stanford.edu/support/site-launch-checklist', TRUE); return ['#markup' => $help]; }