Tips, Admin How to, Quick Fix
Useful quick tools
Before working in Drupal, you can use a simple editor to resize an image. Staff can edit pictures using Microsoft Office 2010. Use Edit Pictures > "Resize" or "Crop." If you resize you should maintain the aspect ratio.
Create a style to set the image size in Configuration > Media > Image Styles
To require CAS login to access a page use Configuration > People > CAS Settings > Redirection > Add the url to "Specific pages"
http://web.library.yale.edu/admin/config/people/cas
These pages allow access after CAS login only. (as of 3/29/2017)
fuser
Redirect Arts News Archive page from arts/news to news/arts-area (Global News View Setting)
Create Menu "Arts In Focus" => auto create block "Arts In Focus" > Edit
Go to "Arts In Focus" block, set "Title" => <none>, only appear in "arts", Move to "Content" Refion, seat under "In Focus" block
From https://git.yale.edu/mteac/tst.library.yale.edu/blob/master/sites/all/th...
Copy>
/* ---------------------------------------------------------------- in focus */ .view-in-focus .views-row { #block-menu-menu-in-focus { #block-menu-menu-in-focus a { #block-menu-menu-in-focus a:hover { |
Edit (Add) with
#block-menu-menu-in-focus-arts {
position: absolute;
top: -6px;
}
#block-menu-menu-in-focus a,
#block-menu-menu-in-focus-arts a {
color: #0F4D92;
}
#block-menu-menu-in-focus a:hover,
#block-menu-menu-in-focus-arts a:hover {
color: #F9BE00;
}
|
Block Styles
Color Code
Yale Blue | 0F4D92 | Haas Orange | F48734 |
FCE188 | Parchment | FEF4D4 | |
Pencil | F9BE00 | 61262A | |
D9E9F2 | Business Site Medium Blue | 708FB9 | |
Higher Intensity Blue | 026CB6 | 527D73 |
Click on the image for a larger version:
Add in Code
Sites > All > Modules > Custom > yul_search > yul_search.module
Create in View
MSSA Add New link to Research menu: Structure > Menus > MSSA Min Menu > Add link
"Using Special Collections at Yale" under -- Research,
=> Link will show up both Research Block and Research Dropdown The default space need to add more height
in Firefox compare smaller font size (in IE)
If need add the height:
Site > All > themes > yul > css > yul-yul-default.css
Find .context-mssa #zone-menu .research-block-nav .cont to change height
.context-mssa #zone-menu .research-block-nav .content {
height: 175px;
}
Do the same change for yul-yul-default-narrow.css and yul-yul-default-normal.css
Enable Drupal functions
"This Week at the Library" needs to be update every Monday with new page's URL
** Needs to find way to auto update the archives annually
Content > Add New Content > News > Fill in Title
Copy and Past from old Library News Archives for monthly news and annual title lists between May 2008-December 2014 in Basic page with following pattern:
Settings > Views > In Focus > Home > Fields > Content: Title >
When a new issue of Nota Bene is released, it must be submitted to EliScholar. Once it is sent to EliScholar and published, an entry can be added to the web site.
Get Cover image, resize to ~150x190
The news should import within one hour, for quick import, you can "Pull Nota Bene Import (Content > type: News Feed > Nota Bene Feed) > http://web.library.yale.edu/nota-bene-feed > Import > Import "**
** Not everyone can do these steps. You must have Admin access to the web site.
Get the imported new issues (Content > type: News, not published )
=> news title will be something like this: "Nota Bene: News from the Yale Library, Annual Report Issue, fall 2014" > Edit
**It is good practice to un-publish the older issues unless the news is going to keep for News Archives.
Remove PL
To remove PL, just unpublished that PL's PL page or delete it.
Create Taxonomy: Subjects
Create view to get the Librarians by Major (Librarians for Undergraduates)
Create another view to get the Librarians by Programs & Departments (Librarians for Graduate Students and Faculty)
Create a main page that can search the librarian by any subject word(s) in Taxonomy Subjects (from Subject Guides, Majors, or Programs & Departments) by enable "Exposed Form in Block" and put this block in "Sidebar First" region on "Find a Subject Specialist " main page => Later also put into the basic page as main page (/subject-specialists, change the search page to /sl) in order to have blank search boxes for "Subject" and "Librarian" (add as OR function)
The common notes is from block that is set in Content Region between "Page Title" and "Page Main Content" for the 3 mentioned pages. Later do the revise, the search page had the instruction (at footer area - so the search result will be on top of it) same as basic page (didn't use block, so when do update, need change both places)
Create a view block that rotate the Subject Specialist name and photo in Main Page's Sidebar First region both image and name are link to libguid page by feed back, original name was link to email).
** Due to Libguides updatae, need change the following url setting: Views > Subject Taxonomy > User Libguide id > Rewrite Results > Link path (http://guides.library.yale.edu/profile.php?uid=[field_user_libguid_id]) => (http://guides.library.yale.edu/prf.php?account_id=[field_user_libguid_id])
Set up New YUL Staff (* are required field)
When Staff leaves
New Department or sub-department not in the list
When Staff change information, just do the necessary change in either user profile (phone, name) or YUL Staff Profile ( name, title, unit, building, location).
New Building not in the list or need to do title change: Contact Steve Wieda