The Drupala Installation Profile is built on the Drupal 5.x Drigg Installation for social bookmarking and the Advanced Profile Kit for social networking. The site architecture makes extensive use of Views, Panels, and multiple content types to build a portal organized around taxonomy terms that includes blogs, articles, social bookmarks, and user profiles. The Drigg base theme has been redesigned to position featured categories in the primary links section and Drigg categories in the sidebar. This allows for an easy customization of the site structure to support virtually any topic. FCKeditor is pre-installed and configured for WYSIWYG blog & article publishing. The Drupala theme is two columns, optimized for APK & Drigg, and cross-browser tested in FF, IE6, IE7, Chrome, Safari, and Opera.
There are two live sites currently based around the Drupala installation profile:
The Drupala Installation Profile contains two new themes, “Drupala” and “SEO-Mix”, as well as more than 50 contributed third-party modules for the Drupal 5.x platform. The installation package includes a MySQL database map and full Drupal 5.x installation. The Drupala and SEO-Mix themes are only different in the color of the top buttons of the GUI & search interface. The Drupala Installation Profile can be used as a base for multi-site installations, and comes with upgrade documentation.
- Download the Drupala Installation Profile at Google Code:
- View the complete list of included modules
The benefit of the Drupala installation profile is the combination of social networking and social bookmarking with a solid theme that can be deployed from a database map to pre-populate the site structure & configuration. With the Drupala installation profile, you can reduce the development time needed to build an advanced social networking / social bookmarking site on Drupal 5.x from 5 to 6 weeks to less than 1 week.
Visit TypeHost Web Development for more information: http://www.typehost.com
Drupala Profile – Installation Instructions:
1. Upload & unpack the site files in domain directory.
2. Create a new MySQL database – grant user all powers.
3. Use phpMyAdmin or command line to import MySQL database map.
a. To import a database with PHPMyAdmin: http://drupal.org/node/81995 –> may be necessary to edit database line in MySQL file to the name of your database
b. Big Dump: http://drupal.org/node/43024
c. Command Line:
mysql -u drupaldbusername -p drupaldbname < /home/drupaltest/public_html/backup/drupaldb.sql
For future reference for others:
1. By your method of choice (I used PHPMyAdmin) backup your database and make sure you select the option “Add DROP TABLE”
2. From the commandline run your database. Below is a template of the command (remove the brackets and put your specific information in):
mysql -u [database_username] -p[database_user_password] [database_name] < [/path/to/your/backup/database/dbname.sql
Database Name: drupal
Database Username: acert93
DB User Password: testing
Backup database: backup_drupal.sql
Path to database: /home/demonstration/www/backup/
mysql -u acert93 -ptesting drupal < /home/demonstration/www/backup/backup_drupal.sql
4. Edit /sites/default/settings.php
+ update database name, password, & user name (usually “localhost” is constant)
+ update base url
+ update cookie domain
+ save / replace – changing permissions as necessary
—> note: you can also review & edit the site “term changes” in the settings.php, see: http://drupal.org/node/131061#comment-636000
5. Browse to the domain – your site should be live.
+ login with ID: “admin” – password: “test”
+ immediately change the password to something secure and begin configuration of the site.
6. Set up cron for the domain as usual.
Note: there is a “dashboard” page in the admin menu that contains all the instructions for configuring the Drupala installation and customizing it to your content. Just click on “Configure Site” and follow the links & instructions.
Drupala Profile – Configuration Instructions:
1. Goto “Site Information” & change the site name & email:
2. Goto the Taxonomy section – change the main categories & featured section information for social bookmarks, articles, and blogs: /admin/content/taxonomy
Note: Offset the “Blog” and “Article” taxonomy by one term when updating the settings, as the first portal view is a list of all content types and not tied to any vocabulary.
3. Goto Menus – update the paths & link titles to reflect your site’s content
4. Goto Blocks – update ads / titles / settings (paths that determine block display may need updated as you make changes):
+ 250px x 250px – top ad: —> change in block:
+ Google adSense – 3 Ads:
—>250 x 250px: image ads only —> change in block:
—>250 x 250px: text ads only – #28488C —> change in block:
—>468 x 15px: link group – #28488C —> this code needs to be changed in:
Footer ad is in site configuration settings:
—> you can also change the bottom link menu in this section.
Note: these can be replaced with ads other than adSense or removed completely. Keep the “div ID” tags in code.
6. Goto panels – use the existing pages as templates to build your site:
+ delete / add / change panels pages & layouts according to site design
+ link panels pages to main images in views slideshow to create a navigation path to featured site articles
7. Goto content – review the views slidehow information and update accordingly:
+ Edit slideshow view
Additional Configuration Options:
1. Note: it is also necessary to register the site with recaptcha and enter the information in the module configuration panel: http://recaptcha.net/
2. Also – register the site at Google Webmaster Tools and update the XML Sitemap settings: https://www.google.com/webmasters/tools
3. The meta-tag information must also be changed: /admin/content/nodewords
4. Change the information in the contact form configuration panel: /admin/build/contact/edit/1
5. Update the abuse email information: /admin/settings/abuse
6. Update the site name in Buddylist settings: /admin/settings/buddylist
7. Update the “legal” settings and also “terms & conditions” – /admin/settings/legal
8. Update the Webform contact information: /admin/settings/webform
9. …and also delete the panels template pages not needed for your installation:
10. When customizing the profile, it is also a good idea to rename the views and panel pages to something that reflects the updated content – but the taxonomy terms should update automatically.
Renaming the views from taxonomy specific tags like “articles_web_design” to “views_1″ simplifies the deployment of the profile & configuration.
If you clone a View that is already embedded in a Panel through a Views Panel, then you may lose the original settings in the panels block.
Updated the Tagadelic settings to display “blog tags” on blog pages, “article tags” on article pages, and “popular tags” (from the social bookmarks) on all other site pages.
Added a content type “slideshow” – for simple views slideshow that links to featured site articles, and more complex sorting of images into portal panels using taxonomy.
Added the Update Status module to the Drupala profile since this was missing from 5.x core: http://drupal.org/project/update_status. This is really an essential module – looking forward to totally automated module & version upgrades in the future.
Important: we do NOT recommend upgrading the version of Advanced Profile Kit used with the Drupala installation profile at this time (Included Version: Advanced Profile Kit 5.x-1.0-alpha5).
Upgraded FCKeditor to the latest version of the module & editor files – preserved the custom configuration for Drupala – Chrome browser scroll area bug solved by editing /sites/all/modules/fckeditor/fckeditor/editor/fckeditor.html
—> xEditingArea to “height: 390px”
The views, views blocks, panels, & other settings should automatically update with taxonomy changes.
For panels portal page displays, you may want to use flash, fpss, views slideshow, animated gifs, or just standard jpg/png files for a top section display.
With the Drupala installation profile, you can reduce the development time needed to deploy an advanced social networking / social bookmarking site on Drupal 5.x from 5 to 6 weeks to less than 1 week.
You can use the configuration “dashboard” page for administration that includes links to the pages above that you need to customize to configure the site after installation. Following the step by step process, you can easily create a custom social network, social bookmarking site, and multi-user blog portal for your publishing niche.
Finishing Configuration & Publishing:
After you have finished configuring the site, delete the dashboard page & menu entry.
Add content to your site.
Review all of the administration settings.
Site Design – Reference:
- Drupal: http://drupal.org
- Drigg: http://drupal.org/project/drigg
- Drigg-Code: http://www.drigg-code.org
- Advanced Profile: http://drupal.org/project/advanced_profile