Skip to content

Commit

Permalink
Closes #3551 Update references to UArizona (#3552)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Green <[email protected]>
  • Loading branch information
bberndt-uaz and trackleft authored Oct 18, 2024
1 parent 873703d commit eae4a4e
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 27 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Arizona Quickstart

Demonstration/starter Drupal distribution and installation profile that packages
various features consistent with community best practices and UArizona brand strategy.
various features consistent with community best practices and University of
Arizona brand strategy.

## A Complete Customized Drupal

Expand Down Expand Up @@ -33,12 +34,12 @@ how to contribute including:

## Where to Install Your Quickstart Site

The University's Campus Web Services group provides ready-to-use sites based on
The university's Campus Web Services group provides ready-to-use sites based on
Quickstart for anyone who isn't comfortable with web development or system
administration. Behind the scenes, a web hosting service called Pantheon hosts
these sites, so in cases where people require more control and flexibility
in a Quickstart site than these can provide, there are ways they can also host
it independently on Pantheon, and many important University sites are already
it independently on Pantheon, and many important university sites are already
there. However, there are many other options for hosting web sites based on
Arizona Quickstart; the only caveat is that anyone following one of these has
to maintain their responsibility for keeping the system and web site secure
Expand Down
6 changes: 3 additions & 3 deletions modules/custom/az_demo/data/az_demo_news_node.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"az_media_image" : "connection-647206_1920.jpeg",
"az_thumbnail" : "",
"az_featured_image_as_thumb" : "1",
"az_subheading" : "New UArizona research has identified a previously unknown pattern of protein creation in the motor neurons, which are the cells that malfunction in patients with ALS. By restoring the missing proteins at one end of the cell, movement returns.",
"az_subheading" : "New University of Arizona research has identified a previously unknown pattern of protein creation in the motor neurons, which are the cells that malfunction in patients with ALS. By restoring the missing proteins at one end of the cell, movement returns.",
"az_body" : "<p>Lou Gehrig's disease is a progressive disease marked by the deterioration and death of nerve cells used for voluntary movements such as walking, talking, eating and so much more. It is incurable. TDP-43 is a protein often found forming clumps within the cells of people with ALS, or amyotrophic lateral sclerosis. It is known to disrupt healthy protein creation in cells, ultimately leading to cellular demise. Scientists weren't sure how – until now. A University of Arizona-led team has uncovered an important new victim of TDP-43, potentially securing an important piece of the puzzle when it comes to a cure. That target – Dlp, short for Dally-like protein – is critical to the function of healthy neurons.</p>",
"az_summary" : "New UArizona research has identified a previously unknown pattern of protein creation in the motor neurons, which are the cells that malfunction in patients with ALS.",
"az_summary" : "New University of Arizona research has identified a previously unknown pattern of protein creation in the motor neurons, which are the cells that malfunction in patients with ALS.",
"az_attachments" : "",
"az_attachments_description" : "",
"az_expiration_date" : "2106-02-06 23:28:15",
Expand Down Expand Up @@ -53,7 +53,7 @@
"az_attachments_description" : "",
"az_expiration_date" : "2106-02-06 23:28:15",
"az_link_url" : "https://news.arizona.edu/story/jet-stream-changes-could-amplify-weather-extremes-2060s",
"az_link_title" : "Read more at UArizona News",
"az_link_title" : "Read more at University of Arizona News",
"az_news_tags" : "Research",
"az_short_title" : "[node:title]"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
{
"id":56,
"az_text_area" : "<p>Beyond employment, are you looking to design your ideal career and life?<\/p>\r\n\r\n<p><a class=\"btn btn-red\" href=\"https:\/\/www.arizona.edu\/how-apply-uarizona\">Apply<\/a> <a class=\"btn btn-blue\" href=\"https:\/\/admissions.arizona.edu\/visit\">Visit<\/a><\/p>\r\n",
"az_text_area" : "<p>Beyond employment, are you looking to design your ideal career and life?<\/p>\r\n\r\n<p><a class=\"btn btn-red\" href=\"https:\/\/www.arizona.edu\/admissions\/apply\">Apply<\/a> <a class=\"btn btn-blue\" href=\"https:\/\/admissions.arizona.edu\/visit\">Visit<\/a><\/p>\r\n",
"filename" : "study.jpeg",
"full_width" : false,
"ordering" : "order_0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{
"id":43,
"az_title" : "Join the Best Students in the Country",
"az_text_area" : "<p>Beyond employment, are you looking to design your ideal career and life?<\/p>\r\n\r\n<p><a class=\"btn btn-red\" href=\"https:\/\/www.arizona.edu\/how-apply-uarizona\">Apply<\/a> <a class=\"btn btn-blue\" href=\"https:\/\/admissions.arizona.edu\/visit\">Visit<\/a><\/p>\r\n",
"az_text_area" : "<p>Beyond employment, are you looking to design your ideal career and life?<\/p>\r\n\r\n<p><a class=\"btn btn-red\" href=\"https:\/\/www.arizona.edu\/admissions\/apply\">Apply<\/a> <a class=\"btn btn-blue\" href=\"https:\/\/admissions.arizona.edu\/visit\">Visit<\/a><\/p>\r\n",
"filename" : "study.jpeg",
"full_width" : false,
"bg_attachment" : "",
Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_demo/data/az_demo_text_paragraph.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
{
"id":88,
"az_text_area" : "<h2 class=\"text-blue mt-4\">A Robust Solution for All Campus Websites</h2><h3 class=\"h4 mb-4\">Whether you need a small lab website or an innovative site to represent your department, Quickstart has you covered.</h3><p>Arizona Quickstart is the result of developers across campus collaborating together in the Arizona Digital working group to bring a shared resource to campus that meets the most common needs of diverse units united behind one brand and embracing the challenges of security and accessibility.</p><p class=\"mb-5\">Quickstart was built so that you can focus on <strong>the actual purpose of your website</strong>: making your desired actions easier, whether that action is <strong>enrolling, engaging, donating, or using your services</strong>.</p><h2 class=\"h3 text-blue\">Core Benefits</h2><ul class=\"mb-5\"> <li><span class=\"h5\">UArizona Branded</span></li><li><span class=\"h5\">Mobile Responsive</span></li><li><span class=\"h5\">Accessible</span></li><li><span class=\"h5\">Flexible</span></li><li><span class=\"h5\">Scalable</span></li></ul><h2 class=\"h3 text-blue\">Get Started Today</h2><p>Ready to build your own website? Check out the Quickstart site to learn more!</p><p><a class=\"btn btn-red mt-2\" href=\"https://quickstart.arizona.edu/\">Visit Quickstart Site</a></p>",
"az_text_area" : "<h2 class=\"text-blue mt-4\">A Robust Solution for All Campus Websites</h2><h3 class=\"h4 mb-4\">Whether you need a small lab website or an innovative site to represent your department, Quickstart has you covered.</h3><p>Arizona Quickstart is the result of developers across campus collaborating together in the Arizona Digital working group to bring a shared resource to campus that meets the most common needs of diverse units united behind one brand and embracing the challenges of security and accessibility.</p><p class=\"mb-5\">Quickstart was built so that you can focus on <strong>the actual purpose of your website</strong>: making your desired actions easier, whether that action is <strong>enrolling, engaging, donating, or using your services</strong>.</p><h2 class=\"h3 text-blue\">Core Benefits</h2><ul class=\"mb-5\"> <li><span class=\"h5\">University of Arizona Branded</span></li><li><span class=\"h5\">Mobile Responsive</span></li><li><span class=\"h5\">Accessible</span></li><li><span class=\"h5\">Flexible</span></li><li><span class=\"h5\">Scalable</span></li></ul><h2 class=\"h3 text-blue\">Get Started Today</h2><p>Ready to build your own website? Check out the Quickstart site to learn more!</p><p><a class=\"btn btn-red mt-2\" href=\"https://quickstart.arizona.edu/\">Visit Quickstart Site</a></p>",
"bottom_spacing" : "mb-5"
},
{
Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_global_footer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quickstart Global Footer

Enabling the Quickstart Global Footer module on your site will add default UArizona resource and social media links to your footer.
Enabling the Quickstart Global Footer module on your site will add default University of Arizona resource and social media links to your footer.

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_global_footer/az_global_footer.info.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Quickstart Global Footer'
type: module
description: 'Provides global footer content which links to UArizona social media accounts and resources.'
description: 'Provides global footer content which links to University of Arizona social media accounts and resources.'
core_version_requirement: ^9 || ^10
package: 'The University of Arizona'
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_global_footer/az_global_footer.module
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function az_global_footer_help($route_name, RouteMatchInterface $route_match) {
case 'help.page.az_global_footer':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Provides global footer content which links to UArizona social media accounts and resources. If your site is already has links in the Footer - Main menu, you will want to transfer those to a new menu prior to enabling this module.') . '</p>';
$output .= '<p>' . t('Provides global footer content which links to University of Arizona social media accounts and resources. If your site is already has links in the Footer - Main menu, you will want to transfer those to a new menu prior to enabling this module.') . '</p>';
return $output;

default:
Expand Down
2 changes: 1 addition & 1 deletion modules/custom/az_google_tag/az_google_tag.install
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function az_google_tag_requirements($phase) {
'title' => t('Google Tag consent mode setting(s)'),
'value' => t('Enabled'),
'description' => t(
'The "Enforce Privacy Consent Policy" setting is currently enabled for one or more <a href="@url">Google Tag containers</a>. This is not recommended for most UArizona websites at this time. Websites that enable consent mode without also having a consent management platform in place risk disabling Google Analytics metrics from being collected. Once a consent management platform is available for campus websites, the recommended setting(s) will likely change.',
'The "Enforce Privacy Consent Policy" setting is currently enabled for one or more <a href="@url">Google Tag containers</a>. This is not recommended for most University of Arizona websites at this time. Websites that enable consent mode without also having a consent management platform in place risk disabling Google Analytics metrics from being collected. Once a consent management platform is available for campus websites, the recommended setting(s) will likely change.',
['@url' => $tag_containers_url->toString()]
),
'severity' => REQUIREMENT_WARNING,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Quickstart News Feeds
type: module
description: 'Import news stories from UArizona News.'
description: 'Import news stories from University of Arizona News.'
core_version_requirement: ^9 || ^10
package: 'The University of Arizona - Experimental'
lifecycle: experimental
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
az_news_feeds.admin:
title: 'Configure UArizona News Importer'
title: 'Configure University News Importer'
route_name: az_news_feeds.admin_importers
parent_id: system.admin_content
weight: 100
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ az_news_feeds.admin_importers:
path: '/admin/content/az-news-feeds'
defaults:
_form: '\Drupal\az_news_feeds\Form\AzNewsFeedsAdminForm'
_title: 'Configure UArizona News Importer'
_title: 'Configure University News Importer'
requirements:
_permission: 'administer quickstart configuration'

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cck_plugin_method: null
migration_tags:
- 'Quickstart News Feeds'
migration_group: az_news_feeds
label: 'UArizona News Stories'
label: 'University of Arizona News Stories'
source:
ids:
uuid:
Expand Down Expand Up @@ -65,7 +65,7 @@ process:
field_az_link/uri: canonical-url
field_az_link/title:
plugin: default_value
default_value: 'Read more at UArizona News'
default_value: 'Read more at University of Arizona News'
field_az_summary/value:
plugin: callback
callable: trim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cck_plugin_method: null
migration_tags:
- 'Quickstart News Feeds'
migration_group: az_news_feeds
label: 'UArizona News Stories - Files'
label: 'University of Arizona News Stories - Files'
source:
ids:
fid:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cck_plugin_method: null
migration_tags:
- 'Quickstart News Feeds'
migration_group: az_news_feeds
label: 'UArizona News Stories - Media'
label: 'University of Arizona News Stories - Media'
source:
ids:
fid:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
id: az_news_feeds
label: 'AZ Quickstart News Feeds'
description: 'Migrate News content from news.arizona.edu'
source_type: 'UArizona News Article'
source_type: 'University of Arizona News Article'
module: az_news_feeds
shared_configuration:
source:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

az_news_feeds.settings:
type: config_object
label: 'UArizona News Feed Settings'
label: 'University of Arizona News Feed Settings'
mapping:
uarizona_news_base_uri:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ public function __construct(
}

/**
* Helper method to check if we are migrating UArizona News stories.
* Helper method to check if we are migrating from news.arizona.edu.
*
* @param \Drupal\migrate\Event\EventBase $event
* The migrate event.
*
* @return bool
* True if we are migrating UArizona News stories, false otherwise.
* True if we are migrating University of Arizona News stories, false
* otherwise.
*/
protected function isUarizonaNews(EventBase $event): bool {
$uarizonaNewsUrl = 'news.arizona.edu';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getFormId(): string {
}

/**
* Returns array of term options from UArizona News.
* Returns array of term options from University of Arizona News.
*/
public function getRemoteTermOptions(): array {
$az_news_feeds_config = $this->config('az_news_feeds.settings');
Expand Down Expand Up @@ -113,7 +113,7 @@ public function buildForm(array $form, FormStateInterface $form_state): array {
];
$form['help'] = [
'#type' => 'item',
'#markup' => '<p>To import the most recent stories regardless of tag, select "All".</p>' .
'#markup' => '<p>To import the most recent stories from <a href="https://news.arizona.edu" target="_blank">news.arizona.edu</a> regardless of tag, select "All".</p>' .
'<p>Deselect "All" if you want to import the most recent stories of any specific tag or tags.</p>' .
'<p>If you select multiple tags, this will import stories with any of the selected tags, and not just stories with all of the selected tags.</p>' .
'<p>This importer will create taxonomy terms from the selected tags, if they exist on a story in the feed.</p>',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ field_name: field_az_link
entity_type: node
bundle: az_news
label: 'Link to external news'
description: 'In most cases, leave this field blank. Enter an external URL if you want the news listings for this article to link directly to a news story on another website (e.g. UArizona News or an external publication).'
description: 'In most cases, leave this field blank. Enter an external URL if you want the news listings for this article to link directly to a news story on another website (e.g. University of Arizona News or an external publication).'
required: false
translatable: true
default_value: { }
Expand Down

0 comments on commit eae4a4e

Please sign in to comment.