Skip to content Skip to navigation

Alyssa Hislop's Blog Posts

Alyssa Hislop portrait Posted by Alyssa Hislop on Thursday, August 16, 2018 - 5:28pm

You've put time into creating your Stanford Sites website, so you'll probably want Google (and other search engines) to know about it. One of the ways to get this done is by submitting your website sitemap. This blog post will walk you through how to claim ownership of your Stanford Sites website, then submit the website to Google for indexing. 

This process works best if you have two tabs or windows open. One for working with Google, the other for working on your website.

Part 1: Get your verification code from Google

Step 1: Go to Google Webmasters tools and click Search Console

Step 2: Click Add A Property

Step 3: Enter your URL

Step 4: Select the Alternate Methods tab (see below image)

Step 5: Click HTML tag

Step 6: Highlight and copy the ID inside content=" " (see below). In this example it's I0sOm_SqSBOzB_xEisS2NDkn7hCI0gSLERTRfTiK7LI. 


Part 2: Apply your verification code to your Stanford Sites website

Step 1: Log into your Stanford Sites website

Step 2: Enable the Site Verification module (more info on this Module)

Step 3: Go to Configuration > Search  > Verifications (or: admin/config/search/verifications in your URL)

Step 4: Click Add Verification

Step 5: Select Google from the dropdown menu, then Next

Step 6: Paste the verification code from Part 1 into the Verification META tag field

Part 3: Verify your site

Step 1: Return to Google Webmaster tools where you first copied the verification code

Step 2: Click Verify

Part 4: Submit your sitemap

The Search Console allows you to see which pages of your site have been indexed. You can also request that your site be indexed. Check out the Sitemaps report to learn more.

Did it work?

Good question! Hopefully? Check out the Index Status report to find out. 

How many people are visiting your website? Which pages are the most popular? 

Check out our blog posts on Google Analytics to find these answers:

Get more help on Google Search Console

Request a Stanford Sites website

Posted in:
Alyssa Hislop portrait Posted by Alyssa Hislop on Wednesday, August 8, 2018 - 12:02pm

Starting July 12, new group and department websites requested on Stanford Sites will live in the cloud. These websites have new modules available to them. What are they and what do they do?


New modules

For new group and department websites created on or after July 12, 2018:

  • bigmenu: Allows direct access to submenu sections of a big menu, so links within a section can be managed without loading the whole global menu.

  • always_visible: Administrators can use this to override the visibility of menu items.

  • chosen: Makes <select> elements more user-friendly. This is a jQuery plugin.

  • contextual_view_modes: Set view modes based off a context.

  • multiple_selects: Set up multiple select fields with an ‘Add another item button’.

  • switch: Add an iphone-like switch form element & widget.

  • video_embed_field and submodules: Embed videos and show a thumbnail preview using this new field.

  • view_unpublished: Allow specific user roles to view unpublished nodes of a specific type.

  • views_select_sort: Change the “weight” of each select list option and sort within the view.

View all included Drupal modules for group and department websites

New module highlights

There is one module in particular that brings some pretty neat functionality to the Stanford Sites platform:

view_unpublished: Use this when you have unpublished content that other people with editing powers need to review.

Why is this a big deal? The unpublished node's default allows only the author of that page to view in its unpublished state. By using view_unpublished, we can override that default.

For example: I have administrator privileges on my website and I write a blog post. My intern has a smaller set of privileges and is assigned a different role. I need her to proofread and add images. Enabling the view_unpublished module and adding that permission to her role will allow her to view the unpublished item.

Removed modules

  • stanford_metatag_nobots: We retired this service in Fall 2016. Read more about this change on our blog.

  • mollom: Mollom was used to help prevent spam submissions on forms, but it's come to its end of life. We recommend using Honeypot now for your spam prevention needs.

Learn more about the move to the cloud

Posted in:
Alyssa Hislop portrait Posted by Alyssa Hislop on Friday, August 3, 2018 - 11:23am

The inaugural 2018 Stanford Global Energy Forum website stands out as a Stanford Sites superstar. The forum is coming up in November 2018 and will gather thought leaders and decision makers from the private sector, government, academia, non-profits and media to engage in strategic and balanced dialogue about the Future of Energy.

I think this is a such an eye-catching website. It features rich imagery, colorful accents, and a modern design to spread the excitement and inform potential attendees.


Check out the subtle transition as you hover over the host’s pictures on the homepage.

This is achieved through styling on the host photos using the CSS injector:

.honorary-hosts-photo img { border-radius: 50%; transition-duration: .9s; transition-property: transform; }

.honorary-hosts-photo img:hover { transform: scale(.95); -webkit-transform: scale(.95); }


Learn more about CSS injector on our blog and the transform property on W3Schools.

To make the whole website shine they’re leveraging the Stanford Framework theme, CSS injector, block views of custom content types, and so much more.  This website is a great example of how to use Stanford Sites for events, like forums and conferences. Well done!!


Visit the Stanford Global Energy Forum website

Learn more about Stanford Sites

Posted in:
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 Summer 2016 Updates. Previously it was only available to our Jumpstart clients, but high demand for this functionality on Stanford Sites, combined with our commitment to contributing back to the greater community brought this module to sites created on Stanford Sites. 

You can create a gallery page or a block to use gallery content types through the Stanford Gallery Bean. The gallery images on this post are generated from the Stanford Gallery Bean placed using the Context module. (Not using Context yet? Learn more about this powerful tool now!)

Add Stanford Gallery to your site

  1. Log into your Stanford Sites site.
  2. In the Admin toolbar, select Modules.
  3. Filter by the word gallery.
  4. Select all the Stanford Gallery modules.
  5. Click the Save configuration button.
  6. In the Admin toolbar, go to People > Permissions.
  7. Make sure everyone that needs access to gallery actions has them.

Create a gallery

  1. In the Admin toolbar, select Content > Add Content > Gallery.
  2. In the Menu Settings tab you can add this gallery to the menu structure of your site, or not. 
  3. Click the Save button and admire your new gallery!

Use Stanford Gallery in a Block

Now that you've created a gallery, it can be placed as a block on your site. You will need Administrator privileges on your site.

  1. In the Admin toolbar, select Content > Add Block > Stanford Gallery.
  2. If you want a Title to display, provide one.
  3. Select your desired gallery from the gallery dropdown menu.
  4. Choose the View Mode (aka what size will the thumbnails be).
  5. Save.
  6. Place block (it's in the list of Beans) in Context.

What do the different sizes look like? 

You can compare the different preview thumbnail sizes in our Jumpstart Feature Demos page for Gallery.

But what's the code look like? 

If you're interested in how this module creates a responsive image gallery using the jQuery colorbox plugin, check out our Stanford Gallery code on GitHub

Posted in:
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 growing list of modules available to Stanford Sites during the Summer 2016 Updates. It replaces the soon-to-be-deprecated Stanford Metatag NoBots module, which was featured as a Module of the Day here on the SWS Blog in 2014.

Why is Stanford MetaTag NoBots being deprecated?

Two great reasons are driving this change: 1) NoBots has a slight performance increase over Stanford MetaTag Nobots 2) NoBots is supported by the Drupal Community. The latter point means, among other things, that the module is covered by the Drupal project's security advisory policy.

How does NoBots work? 

This module blocks (well-behaved) search engine robots from crawling, indexing, or archiving your site by setting a "X-Robots-Tag: noindex,nofollow,noarchive" HTTP header. NoBots is created and maintained by our own Stanford Web Service developers John Bickar and Shea McKinney.

How to enable NoBots on your site

  1. Log into your Stanford Sites website
  2. Go to Modules in the Admin toolbar at the top of your page
  3. Filter by the phrase "nobots"
  4. Select the module No Bots
  5. Click Save configuration

Then continue creating content and developing your website. When you're ready to unleash your site to the robots, go back to Modules and disable No Bots. 

Blocking only one page from robots

NoBots is an all or nothing tool. It cannot block only one page from search engine robots. The best way to block selected content from search engines, once NoBots is disabled, is keeping the content unpublished. 

Not using Stanford Sites? 

You can still use this module! It's available on

Posted in:
Alyssa Hislop portrait Posted by Alyssa Hislop on Thursday, July 28, 2016 - 2:45pm

Today we’re launching our new Jumpstart User Guide! It’s now live at:

We revamped our User Guide, originally built in 2013 on the first version of Jumpstart. Since Jumpstart has experienced tremendous growth over the past three years, we implemented today's Jumpstart features and enhancements into our new User Guide.

So, what’s new?

  • Search capability
  • Simplified, modern homepage design
  • Glossary -- perfect for new Drupal users!
  • ​Top asked questions featured front and center
  • Website lifecycle guides
    • Getting started
    • Launching your site
    • Your site post-launch
  • Built on Jumpstart 4.5
  • Updated Stanford Web Services contact information
  • Cleaner menus for navigation

Questions? Feedback? 

Leave us a note in the comments or contact us through your Jumpstart site. We’d love to hear what you think about our new User Guide!

Not using Jumpstart yet?

Learn more about the products and services here:

Posted in:
Subscribe to Alyssa Hislop's Blog Posts