Site editors: please feel free to edit this page on the legacy: add your questions, comments, how-to's, concerns, etc.

=> EDIT THIS PAGE HERE (log in with your regular Steward account if it says "access denied")

CMS QUESTIONS

  • Q. How to align image or text without using HTML (not in WYSIWYG). A. Normally this is best done in Wysiwyg. Please provide an example page URL you are working on and I'll give you the instructions on how to align it.
  • Can we auto-populate alt text for images? (don't want to rely on users to do this). A. Excellent question. We are in discussions with an accessibility consultant on this subject and it seems that Alt text needs to be populated by editors. Some training might be required for this. The problem is that if we auto-populate it, it might be meaningless, and alt text has to be meaningful to people who cannot see the images.
  • How can we access image library when uploading an image instead of uploading new file everytime? A. This is not possible currently, I have added it to the phase 2 list of tasks.
  • Include copy from W or text icon in WYSIWYG to avoid formatting problems? or not needed? A. I do not think this is needed for Drupal 8. Can you please create a dummy page with word content copied and check if the result is OK? If not, please paste the URL here and I'll find a solution.
  • How to add a file / replace files? A. This is currently under development, but it is now possible to use upload files in a field in the page content type, or in any wysiwyg area using image insert (for images) or the paperclip icon (for files). Configuration > URL redirects will allow you to redirect from any URL to any other URL, this is how you make it possible to view files using vanity URLs. Further file-related functionality is under development, ask your questions here!

 

This page lives on the new Drupal 8 site at content.steward.org/editors and will be migrated to the new site once Drupal 7 site is decommissioned.

How the new system is set up

There are two distinct sites in the new site: the hub which has all the content and user accounts; and the spoke (also sometimes called client) which displays the content nicely.

=> The PRODUCTION site is where you can enter live content, and there is a hub production site and a spoke production site.

=> The STAGE (aka TEST) site is where you can play around with the system, and there is a hub production site and a spoke stage site. Anything you enter on the stage site is for training, demos and testing only, and can be deleted anytime.

=> The PRODUCTION SPOKE (THIS IS WHAT THE PUBLIC WILL SEE)

Editing an existing page for a hospital before it is migrated to D8

Hospitals will gradually be migrated to D8.

If a hospital is not migrated to D8 starting March 26, 2018, and you need to add a piece of content (page, article, event...), you can do it directly in the legacy site (D7) and it will eventually be migrated to the new site.

If you need to edit existing content on a hospital which is not yet migrated, you need to do it D7 and D8. Here is an example:

  • Step 1: You notice that an address is wrong on https://www.semc.org/services-directory/weight-loss-surgery
  • Step 2: You go to edit that page as normally on D7, take note of the URL of the edit page, in this case https://www.semc.org/node/5016/edit
  • Step 3: You must also edit the same page on the D8 site, in this case https://content.steward.org/node/5016/edit

Features

Site alerts

For example, if there is an emergency or alert, you can specify this on the home page. Let's try this on the stage site:

(1) go to the STAGE SPOKE at http://stewardhospitalsstg.prod.acquia-sites.com

(2) click on any hospital, for example Jordan valley if you are an editor for that one

(3) In the URL bar, add "/edit" to the very end of the URL, you will see something like http://stewardhospitalsstg.prod.acquia-sites.com/?domain=www.jordanwestvalley.org/edit

(4) This brings you to the STAGE HUB  http://stewardhubstg.prod.acquia-sites.com/; log in

(5) Once you are editing the hopsital, in the alert section enter: "sample alert!", and save (remember you are on the STAGE site which is for testing, this will not appear in production).

(6) Click on the "temporarily bypass caching" link and you will see a red alert bar. (Bypassing caching should not be necessary on production).

Lists of items

Items which are listed, for example Services in the megamenu, use the concept of "stickyness" to be ordered. For example, in the megamenu, the first 8 services alphabetically are listed. If you want, say, "Urology" to be listed, you can edit Urology and set "sticky at top of lists" or "make sticky", then Urology should be listed at the top of the list.

Entering links to mail or webpages in the text editor

Select the text, click the link icon, enter http://... or mailto:some@example.com in the popup, and save

Forms

Editors can log into the content hub and create forms at http://stewardhub.prod.acquia-sites.com/admin/structure/webform.

These forms can then be embedded in iframes (for example http://stewardhub.prod.acquia-sites.com/form/webform-78791). You can also link them to a content type which requires a form (for example, events have registration forms; services can have make appointment forms).

Redirects

You have several options for redirects, all are managed at /admin/config/search/redirect on the hub.
 
For many of these options, you need to know the hospital node id. To find, it go to /admin/content/domains, and hover over edit next to the hospital whose ID you want. For example, hovering next to Malta gives you something like node/500001/edit; the ID here is 500001. Saint Anne is 846.
 
### Redirecting from one URL to another on the same hospital
 
Let's say you want to redirect from /whatever to /contact-us on Malta:
 
* Source: /domain-specific/500001/whatever
* Destination: /contact-us
* Go to /whatever?domain=www.stewardmalta.org on the spoke to test.
* Please note the "domain-specific" part needs to go in the "from" section, not the "to" section
 
### Redirecting from one URL to an absolute URL
 
Let's say you want to redirect from /whatever2 to https://google.com on Malta:
 
* Source: /domain-specific/500001/whatever2
* Destination: https://google.com
* Go to /whatever2?domain=www.stewardmalta.org on the spoke to test.
 
### Redirecting to a file, image, pdf... on the hub
 
Let's say you want to redirect from /whatever3 for Malta to a file which is at /sites/default/files/image-1033072320.png on the hub:
 
* Source: /domain-specific/500001/whatever3
* Destination: /sites/default/files/image-1033072320.png
* Go to /whatever3?domain=www.stewardmalta.org on the spoke to test.
 
Due to a caching issue you might need to clear cache at /admin/config/development/performance on both the hub and spoke for this apply.
 
Sidebar blocks
 
Service listings and individual services pages can have sidebar blocks. They are managed from within the nodes themselves. Here is how: 
  • To add/remove/edit blocks which appear on the service listings page, edit the hospital node itself and add your blocks to the Blocks section near the bottom of the edit form.
  • To add/remove/edit blocks which appear on an individual service page, edit that service page and edit the "blocks" section near the bottom of the edit form.
 
Megamenu blocks
 
In Drupal 7, megamenu dropdown items, for example what appears when you hover over "Services" or "DoctorFinder" in the megamenu of Morton, were managed using Blocks. Blocks no longer exist in Drupal 8, so to do the same thing you would:
* Go to https://content.steward.org/admin/content/domains to find the hospital you want to change the megamenu for, and click edit; In the megamenu section, you can enter the text you want.