This page provides members of the CMU Graphics Lab with information about creating and editing site content.
Get the username/password from a group member and login at the bottom of any page. From there you can add/edit content using the web interface.
All content on this site is user-editable from a web interface, based on WordPress. There are two basic types of entities: posts and pages. Roughly speaking, pages are used to organize content (e.g., a list of publications) whereas posts are used to specify the content itself (e.g., individual publications). The vast majority of the time, you will want to add a post. A few pages have special status in the user interface—for instance, content from the “About” page will appear in a box on the front page. Details about each of the individual post and page categories are given below.
NOTE: Image captions will likely be ignored throughout.
The blog username/password can be obtained from one of the lab members. To login, click the “LOGIN” button at the bottom of any page and enter your credentials at the prompt. After logging in you will be presented with the WordPress administrative interface; clicking the site title (upper-left) will toggle between this interface and the site itself. Note that the default account has Editor privileges, which means that all existing pages and posts can be edited, deleted, etc. (Please be careful not to accidentally delete any essential pages!)
Editing Existing Items
Once logged in, you can edit any page by clicking the “Edit Page” button in the toolbar. For convenience, certain items (news, courses, etc.) will also display an “EDIT” button when logged in. Further editing options are available from the WordPress administrative interface, which can be accessed by clicking on the site title in the toolbar (upper-left).
News items will appear in reverse chronological order on the front page. To add a news item, create a new post and click the “News” checkbox in the Category List (on the right). Input the desired title and content. News items can also include an image (uploaded via the “Add Media” button), which will automatically be positioned next to the text. Note that any subsequent images will be ignored.
Publications appear in both the index on the “Publications” page, as well as individual pages containing an abstract and bibliographic information. To list a new publication, create a new post with the category “Publication.” The title of the post should be the title of the publication. The content of the post should be a BibTeX entry that includes (at very least) the fields author, title, year, journal, and abstract. Optionally, it can also contain a links field that specifies the URL of a project page or PDF. Finally, the first image found in the post will be used as a teaser image and an icon in the publications list. (Subsequent images will be ignored.)
The “People” page displays all the current lab members, as well as alumni and former faculty. To add a lab member, create a new post with the appropriate category (“Undergrad,” “Visitor,” etc.) from the list under “People.” You do not need to check the “People” category itself. Use the person’s name as the title, and upload a headshot by clicking on the “Add Media” button. This picture can then be linked to the person’s homepage by clicking on the image and then clicking on the “Insert/edit link” button (looks like a chain link). People without a photo will be displayed using a default image.
To add/edit alumni, simply edit the “People” page itself. Each alumnus is simply a list item, with optional hyperlinks to their current homepage and institution.
The “Courses” page shows all past and current offerings, as well as a list of other relevant courses. To add a new course, create a new post with the category “Course.” The title should be the course number XX-XXX followed by the course title. The body should include a course description and a teaser image. It can also include a bulleted list of course pages, with the format “Term (Instructor)”. The term and instructor should be linked to the relevant webpages.
The “About” page contains the short blurb shown on the front page. Please keep this text short so that it does not overflow the header.
The remaining pages (“Software/Data”, “Sponsors,” etc.) do not have any special semantics and are displayed more or less exactly as shown in the editor.
The Navigation Bar
Every page on the site displays a navigation bar in the upper-left corner of the header. To add an item to this list, create a new page (not a post) with the parent “Navigation.” The order of these items is determined by the “Order” field of each page, increasing from left to right.
Note that the “Navigation” page itself is simply a dummy page for grouping all the navigation items; it is not displayed in the interface itself.
Still Not Working?
The easiest way to make sure your content is formatted correctly is to compare with a working example (note that you can view the HTML source for any page/post by clicking on the “Text” tab in the editor). However, there are likely bugs to be ironed out and use cases that have been overlooked—please feel free to contact Keenan Crane should you have further questions.