Difference between revisions of "Cein drupal site"
From Stadm
Jump to navigationJump to search (→Views) |
|||
Line 24: | Line 24: | ||
*in order to group fields together into one column you need to go to the 'format' category and click on the table settings. From there you choose which fields you want grouped together and set their 'column' value to the same field. Then type '<br>' into the separator text area | *in order to group fields together into one column you need to go to the 'format' category and click on the table settings. From there you choose which fields you want grouped together and set their 'column' value to the same field. Then type '<br>' into the separator text area | ||
<li>then under the 'page settings' category click on 'path' and add "/%" to the end of the url you made earlier (this step is very important for displaying the same views in different tabs with different content)</li> | <li>then under the 'page settings' category click on 'path' and add "/%" to the end of the url you made earlier (this step is very important for displaying the same views in different tabs with different content)</li> | ||
+ | </ol> | ||
==Quick Tabs== | ==Quick Tabs== | ||
Quick tabs is a module I found that works well for displaying blocks, views, nodes, etc. as tabbed content on a page. | Quick tabs is a module I found that works well for displaying blocks, views, nodes, etc. as tabbed content on a page. |
Revision as of 10:51, 1 June 2012
Contents
Overview
This page is most of the documentation on what I've done with the cein drupal page so far. Most of the work I have done was with the personnel pages of the site.
The main things I have added/changed are:
- taxonomies to apply to the appropriate content types (mainly bio)
- worked with quick tabs and views arguments in order to display a views with certain filter criteria per tab
Taxonomies
- I added a couple vocabularies to apply to the different types of bio content that would be entered in
- under each term I then added the necessary terms to further distinguish each content
- keep in mind the taxonomy term number which should be in the url after /taxonomy/term/
- the taxonomies are very important in order to relate the different content to one another
Views
Views is a popular drupal module that I used to display lists of similar content, like on the various personnel pages
To create a new view:
- add a new view and give it a name
- choose which type of content you want displayed in your view (in my case I chose content type=bio)
- create a page giving it an appropriate url
- there are several different kinds of display formats available to views; I chose to use a table to display the content
- under the 'fields' category add all the content fields that you want to be displayed in the view
- in order to group fields together into one column you need to go to the 'format' category and click on the table settings. From there you choose which fields you want grouped together and set their 'column' value to the same field. Then type '
' into the separator text area - then under the 'page settings' category click on 'path' and add "/%" to the end of the url you made earlier (this step is very important for displaying the same views in different tabs with different content)
Quick Tabs
Quick tabs is a module I found that works well for displaying blocks, views, nodes, etc. as tabbed content on a page.