From Fedora Project Wiki

(Add CCK)
(I have removed some unused modules like Aggregator, added some used modules like Feeds and modified permissions list as a installable modules as well.)
Line 22: Line 22:
<li>Install the [http://drupal.org/project/views Views] module.</li>
<li>Install the [http://drupal.org/project/views Views] module.</li>
<li>Install the [http://drupal.org/project/advanced_help Advanced Help] module.</li>
<li>Install the [http://drupal.org/project/advanced_help Advanced Help] module.</li>
<li>Install the [http://drupal.org/project/auto_nodetitle Automatic Node Title] module.</li>
<li>Install the [http://drupal.org/project/ctools Chaos tool suite] module.</li>
<li>Install the [http://drupal.org/project/feeds Feeds] module.</li>
<li>Install the [http://drupal.org/project/job_scheduler Job Scheduler] module.</li>
<li>Install the [http://drupal.org/project/pathauto Pathauto] module.</li>
<li>Install the [http://drupal.org/project/token Token] module.</li>
<li>Install the [http://drupal.org/project/views_bulk_operations Views Bulk Operations] module.</li>
</ol>
</ol>


Line 28: Line 35:
<ol>
<ol>
<li>In the ''Modules'' configuration module, enable the following modules in the ''Core - Optional'' section:
<li>In the ''Modules'' configuration module, enable the following modules in the ''Core - Optional'' section:
* Aggregator
* Book
* Color
* Color
* Comment
* Comment
Line 40: Line 45:
* Trigger
* Trigger
* Update status</li>
* Update status</li>
<li>Enable the following modules in the ''Feeds'' section:
* Feeds
* Feeds Admin UI
* Feeds News</li>
<li>Enable the ''Flexifilter'' module in the ''Flexifilter'' section.</li>
<li>Enable the ''Flexifilter'' module in the ''Flexifilter'' section.</li>
<li>Enable the following modules in the ''Other'' section:
<li>Enable the following modules in the ''Other'' section:
* Advanced Help
* Advanced Help
* AuthFAS
* AuthFAS
* Footnotes</li>
* Automatic Nodetitles
* Footnotes
* Job Scheduler
* Pathauto
* Token
* Token Actions</li>
<li>Enable the following modules in the ''Views'' section:
<li>Enable the following modules in the ''Views'' section:
* Views
* Views
* Views Bulk Operations
* Views UI</li>
* Views UI</li>
</ol>
</ol>
Line 66: Line 81:
<ol>
<ol>
<li>Add the Planet to the site:
<li>Add the Planet to the site:
<ol><li>Under ''Feed aggregator'' add the [http://planet.fedoraproject.org/rss20.xml RSS 2.0 feed for Planet Fedora] as a new source, with the name ''Planet Fedora''.</li>
<ol><li>Under ''Import menu/Feed menu item'' add the [http://planet.fedoraproject.org/rss20.xml RSS 2.0 feed for Planet Fedora] as a new source url, with the name ''Planet Fedora''.</li>
<li>Set the update interval to ''1 hour''.</li>
<li>Set the update interval to ''1 hour'' under domainname/admin/build/feeds/edit/feed/settings page.</li>
<li>Under ''Site building'' visit the ''Blocks'' menu, place the new Planet aggregator in the right sidebar.  The other defaults are acceptable.</li>
<li>Under ''Site building'' visit the ''Blocks'' menu, place the new Planet aggregator in the right sidebar.  The other defaults are acceptable.</li>
</li>
</li>
Line 98: Line 113:
|-
|-
| view advanced help topic ||  ||  || {{check}} ||  ||
| view advanced help topic ||  ||  || {{check}} ||  ||
|-
! colspan=6 style="text-align: left;" | aggregator module
|-
| access news feeds ||  || {{check}} ||  ||  ||
|-
| administer news feeds ||  ||  || {{check}} ||  ||
|-
|-
! colspan=6 style="text-align: left;" | authfas module
! colspan=6 style="text-align: left;" | authfas module
Line 114: Line 123:
|-
|-
| use PHP for block visibility ||  ||  || {{check}} ||  ||
| use PHP for block visibility ||  ||  || {{check}} ||  ||
|-
! colspan=6 style="text-align: left;" | book module
|-
| access printer-friendly version ||  || {{check}} ||  ||  ||
|-
| add content to books ||  ||  || {{check}} || {{check}} || {{check}}
|-
| administer book outlines ||  ||  || {{check}} || {{check}} || {{check}}
|-
| create new books ||  ||  || {{check}} || {{check}} || {{check}}
|-
|-
! colspan=6 style="text-align: left;" | comment module
! colspan=6 style="text-align: left;" | comment module
Line 161: Line 160:
| administer nodes ||  ||  || {{check}} || {{check}} ||  
| administer nodes ||  ||  || {{check}} || {{check}} ||  
|-
|-
| create book content ||  ||  || {{check}} || {{check}} || {{check}}
| create fwnbeat content ||  ||  || {{check}} || {{check}} ||
|-
|-
| create page content ||  ||  || {{check}} || {{check}} ||
| create page content ||  ||  || {{check}} || {{check}} ||
Line 167: Line 166:
| create story content ||  ||  || {{check}} || {{check}} || {{check}}
| create story content ||  ||  || {{check}} || {{check}} || {{check}}
|-
|-
| delete any book content ||  ||  || {{check}} || {{check}} ||
| delete any fwnbeat content ||  ||  || {{check}} || {{check}} ||
|-
|-
| delete any page content ||  ||  || {{check}} ||  ||  
| delete any page content ||  ||  || {{check}} ||  ||  
Line 173: Line 172:
| delete any story content ||  ||  || {{check}} ||  ||
| delete any story content ||  ||  || {{check}} ||  ||
|-
|-
| delete own book content ||  ||  || {{check}} || {{check}} || {{check}}
| delete own fwnbeat content ||  ||  || {{check}} || {{check}} ||
|-
|-
| delete own page content ||  ||  || {{check}} || {{check}} ||
| delete own page content ||  ||  || {{check}} || {{check}} ||
Line 181: Line 180:
| delete revisions ||  ||  || {{check}} || {{check}} ||
| delete revisions ||  ||  || {{check}} || {{check}} ||
|-
|-
| edit any book content ||  ||  || {{check}} || {{check}} ||
| edit any fwnbeat content ||  ||  || {{check}} || {{check}} ||
|-
|-
| edit any page content ||  ||  || {{check}} || {{check}} ||
| edit any page content ||  ||  || {{check}} || {{check}} ||
Line 187: Line 186:
| edit any story content ||  ||  || {{check}} || {{check}} ||  
| edit any story content ||  ||  || {{check}} || {{check}} ||  
|-
|-
| edit own book content ||  ||  || {{check}} || {{check}} || {{check}}
| edit own fwnbeat content ||  ||  || {{check}} || {{check}} ||
|-
|-
| edit own page content ||  ||  || {{check}} || {{check}} ||  
| edit own page content ||  ||  || {{check}} || {{check}} ||  

Revision as of 16:26, 27 January 2011

This page tracks customizations made to a Drupal-based test instance for Fedora Insight.

Note.png
Administrator access
You'll need full access to Drupal uid 1 (the site administrator account) to complete some of these steps.

If you're finished already with these general customizations, there's another page about Insight content configuration.


General changes

  1. It may be necessary to alter the /etc/cron.hourly/drupal6 cron script to ensure it points to the right location ("/drupal" vs. "/drupal6").
  2. Install the AuthFAS module. The source is found here.
    cd /etc/drupal6/all/modules/
    git clone git://fedorapeople.org/home/fedora/pfrields/public_git/drupal-authfas-6x.git authfas
  3. Install the Insight theme. (This doesn't exist yet, but it will. When it does, fill out this step. --pfrields 19:33, 14 August 2010 (UTC))
  4. Install the CCK module.
  5. Install the Flexifilter module.
  6. Install the Footnotes module.
  7. Install the Views module.
  8. Install the Advanced Help module.
  9. Install the Automatic Node Title module.
  10. Install the Chaos tool suite module.
  11. Install the Feeds module.
  12. Install the Job Scheduler module.
  13. Install the Pathauto module.
  14. Install the Token module.
  15. Install the Views Bulk Operations module.

Site building

  1. In the Modules configuration module, enable the following modules in the Core - Optional section:
    • Color
    • Comment
    • Content translation
    • Database logging
    • Help
    • Menu
    • Search
    • Taxonomy
    • Trigger
    • Update status
  2. Enable the following modules in the Feeds section:
    • Feeds
    • Feeds Admin UI
    • Feeds News
  3. Enable the Flexifilter module in the Flexifilter section.
  4. Enable the following modules in the Other section:
    • Advanced Help
    • AuthFAS
    • Automatic Nodetitles
    • Footnotes
    • Job Scheduler
    • Pathauto
    • Token
    • Token Actions
  5. Enable the following modules in the Views section:
    • Views
    • Views Bulk Operations
    • Views UI

Site configuration

  1. Ensure the Site information settings are properly configured.
  2. Configure the AuthFAS module with the following settings. The settings below point the AuthFAS module to a FAS instance on publictest4, and requires that anyone logging in be a member of the cla_done FAS group. Furthermore, it sets up email for each new user at username@fedoraproject.org.
    Location of FAS instance:  publictest4.fedoraproject.org/accounts
    FAS group for authenticated users:  cla_done
    Email domain used for FAS users:  fedoraproject.org
  3. Enable Clean URLs. If you cannot enable them, your site is misconfigured. Visit the /usr/share/drupal6/.htaccess file and ensure that you've changed it according to the How to install Drupal page.
  4. In the Performance settings, enable Normal caching. This should not affect development work. (If you find pages are not being refreshed as expected during development, disable caching.)

Content management

  1. Add the Planet to the site:
    1. Under Import menu/Feed menu item add the RSS 2.0 feed for Planet Fedora as a new source url, with the name Planet Fedora.
    2. Set the update interval to 1 hour under domainname/admin/build/feeds/edit/feed/settings page.
    3. Under Site building visit the Blocks menu, place the new Planet aggregator in the right sidebar. The other defaults are acceptable.

    User management

    1. In the User settings module, set Public registrations to Only site administrators can create new user accounts.
    2. In the User settings module, disable signature and picture support.
    3. In the FAS instance, create three new groups:
      • cmsadmin
      • cmseditor
      • cmswriter
      In the Drupal instance, create three new roles:
      • administrator
      • editor
      • writer
      Edit each role to hook it to the appropriate FAS group listed above. To grant users more access to help with Drupal, use the FAS system -- not the Drupal instance.
    4. In the Permissions module, set the following permissions:

      Permission anonymous user authenticated user administrator editor writer
      advanced_help module
      view advanced help index Checkmark.png
      view advanced help popup Checkmark.png
      view advanced help topic Checkmark.png
      authfas module
      administer FAS settings
      block module
      administer blocks Checkmark.png
      use PHP for block visibility Checkmark.png
      comment module
      access comments Checkmark.png
      administer comments Checkmark.png
      post comments Checkmark.png
      post comments without approval Checkmark.png
      filter module
      administer filters Checkmark.png
      flexifilter module
      administer flexifilter Checkmark.png
      locale module
      administer languages Checkmark.png
      translate interface Checkmark.png
      menu module
      administer menu Checkmark.png
      node module
      access content Checkmark.png Checkmark.png
      administer content types Checkmark.png Checkmark.png
      administer nodes Checkmark.png Checkmark.png
      create fwnbeat content Checkmark.png Checkmark.png
      create page content Checkmark.png Checkmark.png
      create story content Checkmark.png Checkmark.png Checkmark.png
      delete any fwnbeat content Checkmark.png Checkmark.png
      delete any page content Checkmark.png
      delete any story content Checkmark.png
      delete own fwnbeat content Checkmark.png Checkmark.png
      delete own page content Checkmark.png Checkmark.png
      delete own story content Checkmark.png Checkmark.png Checkmark.png
      delete revisions Checkmark.png Checkmark.png
      edit any fwnbeat content Checkmark.png Checkmark.png
      edit any page content Checkmark.png Checkmark.png
      edit any story content Checkmark.png Checkmark.png
      edit own fwnbeat content Checkmark.png Checkmark.png
      edit own page content Checkmark.png Checkmark.png
      edit own story content Checkmark.png Checkmark.png Checkmark.png
      revert revisions Checkmark.png Checkmark.png
      view revisions Checkmark.png Checkmark.png Checkmark.png
      system module
      access administration pages Checkmark.png
      access site reports Checkmark.png
      administer actions Checkmark.png
      administer files Checkmark.png
      administer site configuration Checkmark.png
      select different theme Checkmark.png
      taxonomy module
      administer taxonomy Checkmark.png Checkmark.png
      translation module
      translate content Checkmark.png
      user module
      access user profiles Checkmark.png
      administer permissions
      administer users Checkmark.png
      change own username
      views module
      access all views Checkmark.png Checkmark.png
      administer views Checkmark.png

    Reports

    TBD