User Tools

Site Tools


cms2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cms2 [2011/06/24 07:18]
siva_epari
cms2 [2018/03/24 11:13] (current)
Line 1: Line 1:
-==Creating a form in drupal==+==Links== 
 + 
 +  * [[cms1|Drupal,​ Day1]] 
 +  * [[cms2|Drupal,​ Day2]] 
 +  * [[cms_faq|Frequently Asked Questions, CMS]] 
 +  * [[drupal-lms|Library Management System as Assignment]] 
 + 
 +===Content Management System(Focus On Drupal), Day2=== 
 + 
 +==Creating a "​Content type"==
  
    - Navigate to the Content types page (Administer > Structure > Content types).    - Navigate to the Content types page (Administer > Structure > Content types).
Line 5: Line 14:
    - In the Name field, add a name for the content type. The name is required. Note that if you start entering a name into the name field, a "​machine name" starts showing to the right of the title. To edit the machine name, click the edit link.    - In the Name field, add a name for the content type. The name is required. Note that if you start entering a name into the name field, a "​machine name" starts showing to the right of the title. To edit the machine name, click the edit link.
    - In the Description field, you can write a description of the content type that will show up on the Add new content page (Administer > Content > Add new content).    - In the Description field, you can write a description of the content type that will show up on the Add new content page (Administer > Content > Add new content).
-   - Set your preferred default values for this content type. Content you create of this content type will have these values by default. The values can be overridden for each content created. You can specify default values for Submissionform ​settings, Publishing options, Display settings, Comment settings and Menu settings.+   - Set your preferred default values for this content type. Content you create of this content type will have these values by default. The values can be overridden for each content created. You can specify default values for Submission form settings, Publishing options, Display settings, Comment settings and Menu settings.
    - Do one of the following:    - Do one of the following:
      - To add the content type using only the title and body fields, click Save Content Type.       - To add the content type using only the title and body fields, click Save Content Type. 
Line 12: Line 21:
  
  
-==TO CREATE FIELDS IN THE CONTENT TYPE FOLLOW THE STEPS==+==Adding "​fields"​ to "​Content type"==
  
    - Navigate to the Content types page (Administer > Structure > Content types).    - Navigate to the Content types page (Administer > Structure > Content types).
Line 22: Line 31:
    - Click Save.    - Click Save.
  
 +==Create a Node reference==
 +   - Download & extract "​References"​ module [[http://​drupal.org/​project/​references|Download]] to sites/​all/​modules
 +   - Goto "​Modules",​ check "Node Reference"​ and "Save Configuration"​
 +   - Goto "​Structure"​ > "​Content types" and click "​Manage fields"​ on a Content type
 +   - Under "Add new Field" provide the label, Choose "Node Reference"​ under "​Field"​ and "Save
 +   - Choose a content type to be referenced under "​Content types that can be referenced"​(Like choose Author when working on Book)
 +   - "Save field settings"​ & "Save settings"​
 +   - Now while creating the content, you will get a Autocomplete field for the referenced Content type
  
-==TO ARRANGE THE ORDER OF THE FIELDS==+==To arrange order of fields==
  
    - Navigate to the Content types page (Administer > Structure > Content types).    - Navigate to the Content types page (Administer > Structure > Content types).
Line 39: Line 56:
      - Give **Path** as **node/​add/​event** (event is nothing but the name of the content type you created in previous steps, so if you have created a content type called **registration** the path for that content type will be **node/​add/​registration**      - Give **Path** as **node/​add/​event** (event is nothing but the name of the content type you created in previous steps, so if you have created a content type called **registration** the path for that content type will be **node/​add/​registration**
      - Save      - Save
 +
 +==Links==
 +
 +  * [[cms1|Drupal,​ Day1]]
 +  * [[cms2|Drupal,​ Day2]]
 +  * [[cms_faq|Frequently Asked Questions, CMS]]
 +  * [[drupal-lms|Library Management System as Assignment]]
cms2.1308899888.txt.gz · Last modified: 2018/03/24 11:13 (external edit)