Here's what I posted and then inadvertently deleted- it's the section of the config file I am using to run the GLCD module including the SD card slot. Here's a tip: the beeper on the GLCD is extremely annoying (at least to my ears) and sounds a lot better with a small piece of paper or cotton stuffed into the hole on the top of the part.
# Panel
panel.enable true # set to true to enable the panel code
# on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
# +5v is EXP1 pin 10, Gnd is EXP1 pin 9
panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
#panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8
panel.menu_offset 0 # some panels will need 1 here
panel.alpha_jog_feedrate 3000 # x jogging feedrate in mm/min
panel.beta_jog_feedrate 3000 # y jogging feedrate in mm/min
panel.gamma_jog_feedrate 1200 # z jogging feedrate in mm/min
panel.hotend_temperature 235 # temp to set hotend when preheat is selected
panel.bed_temperature 70 # temp to set bed when preheat is selected
# setup for external sd card on the GLCD which uses the onboard sdcard SPI port
panel.external_sd true # set to true if there is an extrernal sdcard on the panel
panel.external_sd.spi_channel 1 # set spi channel the sdcard is on
panel.external_sd.spi_cs_pin 0.28 # set spi chip select for the sdcard (or any spare pin)
panel.external_sd.sdcd_pin 0.27!^ # sd detect signal (set to nc if no sdcard detect) (or any spare pin)
# Custom menu entry, which will show up in the Custom entry.
# NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands