Difference between revisions of "Drupal Care Package"

From Stadm
Jump to navigationJump to search
 
(5 intermediate revisions by one other user not shown)
Line 31: Line 31:
 
It's not a good idea to put every thing on one page.You need to redirect website visiter to different pages.  
 
It's not a good idea to put every thing on one page.You need to redirect website visiter to different pages.  
  
* Basic content types
+
===Basic content types===
** Go to the editing page of a content to which you want to add a menu link
+
* Go to the editing page of a content to which you want to add a menu link
** Scroll down and you will see a tab of the bottom block called "Menus settings", click it
+
* Scroll down and you will see a tab of the bottom block called "Menus settings", click it
** Check the "Provide a menu link"
+
* Check the "Provide a menu link"
** Fill out the "Menu link title" and "Description"(optional)
+
* Fill out the "Menu link title" and "Description"(optional)
** Choose a "Parent item" for the menu
+
* Choose a "Parent item" for the menu
** Don't choose anything other than "<Main menu>" unless your theme supports drop-down menu  
+
* Don't choose anything other than "<Main menu>" unless your theme supports drop-down menu
* Views or Panels
+
 
** Views:  
+
=== Views or Panels===
***Management menu -> Structure -> Views  -> /view/ you want to edit -> Edit -> Page Settings -> Menu
+
* Views:  
** Panels:  
+
**Management menu -> Structure -> Views  -> /view/ you want to edit -> Edit -> Page Settings -> Menu
***Management menu -> Structure -> Panels -> Manage Pages -> /page/ you want to edit -> Edit -> Settings -> Menu
+
* Panels:  
 +
**Management menu -> Structure -> Panels -> Manage Pages -> /page/ you want to edit -> Edit -> Settings -> Menu
  
 
== Organic Groups ==
 
== Organic Groups ==
 +
=== Overview ===
 +
Organic Groups module can "Enable users to create and manage their own 'groups'. Each group can have subscribers, and maintains a group home page where subscribers communicate amongst themselves.  They do so by posting the usual node types: blog, story, page, etc. A block is shown on the group home page which facilitates these posts. The block also provides summary information about the group.  Groups may be selective or not. Selective groups require approval in order to become a member, or even invitation -only groups. There are lots of preferences to configure groups as you need."
 +
 +
=== Tutorials ===
 +
Quick introduction [https://modulesunraveled.com/organic-groups-7x-2x/introduction video]. It has more clips about OG, but most of them are not free.
 +
 +
Some helpful tutorials for starters
 +
 +
*[https://www.ostraining.com/blog/drupal/organic-groups/ Organic Groups: Social Networking for Drupal] The illustrations in this tutorial may contain different interfaces, but the procedures are the same.
 +
 +
*[https://www.lullabot.com/blog/article/organic-groups-drupal-7 Organic Groups for Drupal 7]
 +
 +
=== Example ===
 +
ERI's [http://cosmos.eri.ucsb.edu/networks Cosmos] web is utilizing OG to manage its "Networks"
 +
=== More ===
 
* [[Organic_Groups|Organic Groups]]
 
* [[Organic_Groups|Organic Groups]]
 +
==Theming==
 +
[http://themery.com/dgd7 Tutorial]

Latest revision as of 16:08, 7 March 2017

Overview

This care package collects some useful resources either created by previous assistants or from the Internet.

Adding & editing contents

Adding & editing contents are the most basic uses of Drupal

Create your own content types

Sometimes the original content types cannot fulfill your all requirements, you may want a new content type to reach your expectations. For example, you may want to create a FAQ page, which should contains several FAQ entries. Thus you can create a new custom content type "FAQ", which has "Question" and "Answer" fields instead of "Title" and "Body".

Show content on a page in the way you want

When you have your own content type, the next step is to show entries of the content type on your website. Drupal module "View" is a handy tool to manage this issue.

"I want a few pictures on the left one third of the screen and articles on the right two third."

Then you have to use the more advanced "Panels" module.

Organize your site with Menu

It's not a good idea to put every thing on one page.You need to redirect website visiter to different pages.

Basic content types

  • Go to the editing page of a content to which you want to add a menu link
  • Scroll down and you will see a tab of the bottom block called "Menus settings", click it
  • Check the "Provide a menu link"
  • Fill out the "Menu link title" and "Description"(optional)
  • Choose a "Parent item" for the menu
  • Don't choose anything other than "<Main menu>" unless your theme supports drop-down menu

Views or Panels

  • Views:
    • Management menu -> Structure -> Views -> /view/ you want to edit -> Edit -> Page Settings -> Menu
  • Panels:
    • Management menu -> Structure -> Panels -> Manage Pages -> /page/ you want to edit -> Edit -> Settings -> Menu

Organic Groups

Overview

Organic Groups module can "Enable users to create and manage their own 'groups'. Each group can have subscribers, and maintains a group home page where subscribers communicate amongst themselves. They do so by posting the usual node types: blog, story, page, etc. A block is shown on the group home page which facilitates these posts. The block also provides summary information about the group. Groups may be selective or not. Selective groups require approval in order to become a member, or even invitation -only groups. There are lots of preferences to configure groups as you need."

Tutorials

Quick introduction video. It has more clips about OG, but most of them are not free.

Some helpful tutorials for starters

Example

ERI's Cosmos web is utilizing OG to manage its "Networks"

More

Theming

Tutorial