How to Connect Google Sheets to Contact Forms

After creating your form, click on the Google Sheets tab:       On your Google Drive account, create a new Google Sheet. Save it as something memorable. You will need to grab the name of the sheet, the Google Sheet ID (directly from the URL of the sheet), and the Tab name (default is … Continue reading “How to Connect Google Sheets to Contact Forms”

Creating “In the News” Content

“In the News” content can be found under Resource ID 11086 and should be contained within the year of posting. The simplest way to create an “In the News” item is to duplicate an existing resource from an existing faculty. Once you make a duplication, uncheck the published radio button to prevent the resource from … Continue reading “Creating “In the News” Content”

MODx comments

MODx comments will not appear when viewing the source code of a page. This is especially useful when trying to keep old banners on the homepage while having it out of sight. To use MODx comments, use the following syntax: [[- ]]

Course Schedule Conversion for MODX

This tutorial walks through the steps to convert course schedule from Excel file into MODX. Open up the original Excel file (provided by Deborah), merge multiple faculty into one row, then delete all the empty rows. Open up the Course Schedule Sample Excel file Copy and paste each column such as Course Title, Credit, and … Continue reading “Course Schedule Conversion for MODX”

Setting up an RSS Feed Parser in MODX

MODX uses an add-on called getFeed to parse RSS content. In order to use it, place this code on your page template (example uses the Faculty News Feed): [[!getFeed? &url=`https://sls.gmu.edu/faculty-news/feed/` &tpl=`RSSFeedParser` &limit=`1` ]] The code pulls the RSSFeedParser, a custom chunk we made that pulls the most recent article title and link. Titles are pulled … Continue reading “Setting up an RSS Feed Parser in MODX”

Full-Time Faculty Table

The Full Time Faculty Table implements one ditto that calls two separate chunks. The chunks are: ditto.people_finder.odd.tr.2018 and ditto.people_finder.even.tr.2018 The structure of both dittos are the same, with only the row background color being different using the existing even and odd classes within the main style sheet. When calling the ditto, filter the results using: … Continue reading “Full-Time Faculty Table”

Main Site Top Navigation Bar

Assigning new pages to different sections of the site are done within the resource itself under Template Variables. However, adding sections to the Top Navigation Bar requires manually editing a Chunks within MODX. To add a new Admissions Program to the Admissions section, for example, Navigate to Elements, select Chunks, then Navigation, and select the … Continue reading “Main Site Top Navigation Bar”