Insight customizations to Drupal

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

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

Packaging Details
Note: to install the following packages, please enable EL5/6 repositories as explained here. Note: to install a package feel free to use either rpm or yum commands. Syntax is: rpm -i 'package-name' yum install 'package-name' where package-name is the value available in the table below.

Before moving to the second step of this wiki page, please make sure you grab the following packages from El5 and El6:

 drupal6 drupal6-footnotes drupal6-advanced-help drupal6-auto_nodetitle drupal6-ctools drupal6-feeds drupal6-job_scheduler drupal6-pathauto</li> drupal6-token</li> drupal6-views_bulk_operations</li> drupal6-flexifilter</li> drupal6-views</li> drupal6-cck</li> </ol>

General changes
<ol> It may be necessary to alter the  cron script to ensure it points to the right location ("/drupal" vs. "/drupal6").</li> 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 </li> 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))</li>

Install the CCK module.</li> Install the Flexifilter module.</li> Install the Footnotes module.</li> Install the Views module.</li> Install the Advanced Help module.</li> Install the Automatic Node Title module.</li> Install the Chaos tool suite module.</li> Install the Feeds module.</li> <li>Install the Job Scheduler module.</li> <li>Install the Pathauto module.</li> <li>Install the Token module.</li> <li>Install the Views Bulk Operations module.</li> </ol>

Site building
<ol> <li>In the Modules configuration module, enable the following modules in the Core - Optional section: <li>Enable the following modules in the Feeds section: <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 Views section: </ol>
 * Color
 * Comment
 * Content translation
 * Database logging
 * Help
 * Menu
 * Search
 * Taxonomy
 * Trigger
 * Update status</li>
 * Feeds
 * Feeds Admin UI
 * Feeds News</li>
 * Advanced Help
 * AuthFAS
 * Automatic Nodetitles
 * Footnotes
 * Job Scheduler
 * Pathauto
 * Token
 * Token Actions</li>
 * Views
 * Views Bulk Operations
 * Views UI</li>

Site configuration
<ol> <li>Ensure the Site information settings are properly configured.</li> <li>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: https://fakefas01.fedoraproject.org/accounts FAS group for authenticated users: cla_done Email domain used for FAS users: fedoraproject.org </li> <li>Enable Clean URLs. If you cannot enable them, your site is misconfigured. Visit the file and ensure that you've changed it according to the How to install Drupal page.</li> <li>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.)</li> </ol>

Content management
<ol> <li>Add the Planet to the site: <ol><li>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.</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></ol>

<li>Add new content to the site: <ol><li>Click on the "Create content" on the right menu panel,</li> <li>Select which kind of content do you want to add. Options are:</li> </li> </ol>
 * Page, is a simple method for creating and displaying information that rarely changes, such as an "About us" section of a website.
 * Story, is ideal for creating and displaying content that informs or engages website visitors.(i.e Press releases, site announcements or informal blog entries)
 * Weekly News Beat, A single "beat" or topical area in the Fedora Weekly News

User management
<ol> <li>In the User settings module, set Public registrations to Only site administrators can create new user accounts.</li> <li>In the User settings module, disable signature and picture support.</li> <li>In the FAS instance, create three new groups: In the Drupal instance, create three new roles: 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.</li> <li>In the Permissions module, set the following permissions: </li></ol>
 * cmsadmin
 * cmseditor
 * cmswriter</li>
 * administrator
 * editor
 * writer

Reports
TBD