Skip to content Skip to navigation

Tips and Tricks

BADCamp 2017: Caryl’s Training Recap

Caryl Westerberg Posted by Caryl J Westerberg on Thursday, November 9, 2017 - 10:14am

BADCamp is a delightful mix of networking and educational opportunities. Along with connecting with former acquaintances and meeting new people, I attended two really informative trainings. Here’s my recap:


Component Based Development


On the...

Altering Custom Elements in Forms

Caryl Westerberg Posted by Caryl J Westerberg on Monday, October 23, 2017 - 1:46pm

Drupal provides a powerful framework for creating custom elements for use in forms. One example of a custom element is the Link field. Suppose...

Grep Invert Match

Photo of John Bickar Posted by John Bickar on Monday, October 2, 2017 - 3:11pm

Today I learned about the -v flag for grep...

Adding Styles to Stanford WYSIWYG

Cynthia Mijares Posted by Cynthia Mijares on Wednesday, July 12, 2017 - 8:04pm

The Stanford WYSIWYG gives the content editor multiple style options to modify the look of their site's content.  Suppose you want the ability to float an image right or left in the content region but it's not in the list of Styles. You can create a CSS Injector rule to target...

Stanford Events Series module

Anna Watt Posted by Anna Watt on Friday, March 31, 2017 - 8:45am

Do you have a collection of ongoing related events? Try the Event Series module to collect events onto a single page and display upcoming and past events.


Stanford Event Series joined Stanford Sites during the Summer 2016 Updates. Previously it was only available to our...

Creating a news item for your website

Grace Kiburi profile photo Posted by Grace Kiburi on Friday, March 24, 2017 - 10:48am

Want to create a news item for your Stanford Sites? Stanford News feature provides an out of the box solution for displaying news content on your website. This feature contains a content type, fields, a news page layout, and taxonomy. This module is a great replacement for...

Making menu links visible for all users

Grace Kiburi profile photo Posted by Grace Kiburi on Friday, March 17, 2017 - 11:55am

You have created a page that is restricted to Stanford only users logged in with their SUNet ID and placed that page in the menu. After logging out of your site, you noticed that the link is gone! Would you like to make your menu links visible to all users even though the content is restricted?...

Add a photo gallery to your site

Alyssa Hislop portrait Posted by Alyssa Hislop on Monday, December 5, 2016 - 12:06pm

Want to display a group of photos on your site? Stanford Sites now offers a solution for creating your own galleries.



Stanford Gallery joined Stanford Sites during the ...

Choosing NoBots instead of Stanford MetaTag NoBots

Alyssa Hislop portrait Posted by Alyssa Hislop on Thursday, October 20, 2016 - 9:00am

Are you creating a new site on Stanford Sites, but don't want Search Engines to see it? The NoBots module is here to replace Stanford MetaTag NoBots. 


NoBots recently joined the...

Git: Find the First Tag Containing a Specified Keyword

Photo of John Bickar Posted by John Bickar on Wednesday, September 7, 2016 - 8:00am

Today's post is a quick tutorial how to use "git grep" and "git tag" to find the earliest tag that contains a particular line of code.


TL;DR: use:


git grep <regexp> $(git rev-list --all)...

Pages

Subscribe to Tips and Tricks