Skip to content Skip to navigation

Tips and Tricks

Using Stanford Feeds for easier content maintenance

Caryl Westerberg Posted by Caryl J Westerberg on Tuesday, September 8, 2015 - 9:30am

Would you like to display courses on your website? How about events or links to people profiles? The Stanford community provides a variety of web feeds which provide data or content that your Drupal website can leverage. 


Frequently the content you need on your website is...

Drush "user-list" Command

Photo of John Bickar Posted by John Bickar on Friday, June 26, 2015 - 9:05am

A simple task: list all the users on a site, optionally filtering by role or by status. Difficulty: using drush.


I had searched around a bit for this functionality and my Google-fu had failed me, so I decided to build off of...

Linking to a Profile on StanfordWho.stanford.edu

Cynthia Mijares Posted by Cynthia Mijares on Wednesday, May 20, 2015 - 8:55am

As a guest, StanfordWho.stanford.edu has the ability to search by name, email, work phone, or SUNet ID. As an authenticated user, you can check the Search in Stanford view option to see more information. Here's a tip to customize the URL link to a profile page on StanfordWho....

Drupal permissions based on Workgroups

Cynthia Mijares Posted by Cynthia Mijares on Monday, March 9, 2015 - 11:00am

What happens when the one guy who has access to manage users on your Drupal website leaves? Do you have a team of people that needs to work on the website, but those people change over time? Do they all have a SUNet ID? Take advantage of the Stanford WebAuth Module features and ...

Behat Custom Step Definition: Wait for Batch API to Finish

Photo of John Bickar Posted by John Bickar on Friday, February 13, 2015 - 2:00pm

If you're using Behat and the Drupal Extension, you might find the following code snippet helpful if you want to add a step to wait for batch jobs to...

Rock your Resolution: Tips on self-directed learning

Megan Erin Miller Posted by Megan Erin Miller on Friday, January 16, 2015 - 9:00am

Welcome back! It's a new year, and that means you probably have some New Year's Resolutions on a sticky near your computer (I have about ten). If one of the goals on your list to learn Photoshop or how to code, then as a seasoned overachiever – I mean, self-driven, life-long...

Getting Started on Sites: Creating a New View Mode

Cynthia Mijares Posted by Cynthia Mijares on Friday, December 5, 2014 - 8:21am

Drupal has a couple of standard ways to display content using a Default view or a Teaser view display. Stanford Web Services uses View modes to create multiple image/Field Collection displays and allows the site builder to change how fields will be displayed. 


Enabling...

Doing more with the editor, Part 1, adding CSS styles

Caryl Westerberg Posted by Caryl J Westerberg on Friday, November 21, 2014 - 8:18am

Have you ever wanted to put a border on an image or highlight a link for more information in a text field? It is possible to configure the  Styles dropdown menu in your WYSIWYG editor to allow you to add styles to the content in a text field. ...

Roundup: Getting Started on Sites

Posted by Joe Knox on Thursday, November 6, 2014 - 9:00am

Need to build and manage a website for university work? Want responsive and accessible themes that work well on phones, tablets, and desktop browsers? Looking for a self-service tool that requires little technical expertise and has all patches and upgrades handled at no cost?...

Designing for Archivability

photo of Nicholas Taylor Posted by Nicholas Taylor on Monday, October 20, 2014 - 8:56am

Web archives are a great way to reference or recover deprecated site content. You can help to ensure that old versions of your website will be faithfully preserved by designing for archivability.


A brief self-introduction


Regular visitors to the...

Pages

Subscribe to Tips and Tricks