Posted by Amazon on August 9, 2006 at 6:41am
Drupal Profile Builder - work with Kieran Lal, CTO of CivicSpace Inc, to develop a profile builder tool that helps to build installation profile based based on the upcoming Drupal installation profile system for Drupal 4.8 to produce User Experience designs for Drupal distributions. The profile builder will make recommendation on roles, menu, modules, views, Information Architecture, and then export those design to .profile and a .install file. --Sanket
- Profiles consists of roles, menu, blocks, modules, views, themes, and content. Make a table to describe the contents of a profile.
- Install Drupal CVS and use the Profile system in the installer.
- Once you have a profile in a table I'll work with you to automatically configure a site profile
| Drupal component | |
| Menu | How many menu's?Name, menu items for each Primary and Secondary menu's |
| Block | What blocks, on what path, for what roles. |
| Content | What default content do you want? |
| Theme | What is your default theme? What is the configuration of that default theme? What theme will be enabled. |
| Views | What views will be available |
| Roles | What roles will you have, what is their access permissions. |
| Regions | What regions will you have by default, what other custom regions will you support? |

Comments
Drupal
1. Students
* News -> /students/news
* Lists -> /students/lists
* Results -> /students/results
* Forums -> /forums
Show up for role Student
2. Faculty
* News -> /faculty/news
* Lists -> /faculty/lists
* Forums -> /forums
Show up for role Faculty
2. About -> /about
* Overseers -> /about/overseers
* Infrastructure -> /about/infrastructure
* Campus -> /about/campus
* Contact -> /contact
3. Departments -> /departments
* Computer Tech -> /departments/comps
* Information Technology -> /departments/it
* Electronics -> /departments/elex
4. Management -> /management
5. Placements -> /placements
6. Contact Us -> /contact
7. Site map -> /sitemap
* my inbox
2. The OG,OG_forum,OG_list modules add few menu items. With some customization, we can have...
* My groups
* My forums
* My unread (for unread group posts)
3. Polls
4. Enable 'User List' menu item
5. Enable 'Recent Posts' menu item
6. The blog module adds the 'My blog' menu item
* Different for each role, depending on the current user
* Default news items for guests
* Path : /news
* Code :
<?phpglobal $user;
if (in_array('Student',$user->roles))
{
$query = " SELECT message FROM news WHERE category='Faculty' ";
}
elseif (in_array('Faculty',$user->roles))
{
$query = " SELECT message FROM news WHERE category='Faculty' ";
}
$count = 0;
$linkid = mysql_connect ("localhost", "rait", "rait");
$result = mysql_select_db ("rait", $linkid);
$result_set = mysql_query ($query, $linkid);
$fetched_rows = mysql_fetch_row ($result_set);
if(($fetched_rows))
{
$result_set = mysql_query ($query, $linkid);
while ( ($fetched_rows = mysql_fetch_row ($result_set)) && ($count<5) )
{
print t("$fetched_rows[0]<br><br>");
$count++;
}
}
?>
2. Notices
* Common for all
* Path : /notices
3. Polls (from polls module)
4. Similar Entries (from similar module)
(All content types are pages)
1. Home - /home - introduction
2. About - /about - general info about the institute
* Overseers - /about/overseers - profiles of the founder, chairman, president
* Infrastructure - /about/infrastructure - info, images of the institute's infrastructure
* From Principal's Desk - /about/principal - Principal's message to students, faculty
* Campus - /about/campus - images, blueprints of the institute's campus
* Contact - /contact - contact form (built using the contact_form module)
3. Departments - /departments - list of departments with links
* Computer Tech - /departments/computer - info about the Comp Tech dept
* Similar for other departments, one page each
* Configuration settings : Custom logo, favicon, slogan, mission statement.
* No other theme enabled.
The theme is available for 4.7 and works perfectly.
Known Issues
* More than 3 primary links do not appear for other languages
* Right sidebar appears to collapse into the main body when window is shrunk
* Blank spaces between the options in admin windows when using IE
Name : MyLatestView
Access : Unchecked (all)
Description : Custom view for latest posts items
Block
Provide Block : Checked
View Type : List View
Title : Latest Posts
Nodes per block : 5
Fields
Add Field : Node Title
Filters
Add Filter : Node Published - Equals YES
Sort Criteria
Node: Last Updated Time (Descending)
Node: Created Time (Descending)
Module Permissions:
* blog module - edit own blog
* forum module - create forum topics, edit own forum topics
* node module - access content
* onlinestatus module - access onlinestatus
* poll module - vote on polls
* site_map module - access site map
* upload module - view uploaded files
* user module - access user profiles
2. Faculty (authenticated)
* blog module - edit own blog
* book module - create new books, edit own book pages, outline posts in books, see printer-friendly version
* forum module - create forum topics, edit own forum topics
* node module - access content
* onlinestatus module - access onlinestatus
* page module - create pages, edit own pages
* poll module - create polls, vote on polls
* site_map module - access site map
* upload module - upload files, view uploaded files
* user module - access user profiles
3. Guest (anonymous user)
* node module - access content
* search module - search content
* site_map module - access site map
* One custom region between the header and the sidebars to display an iconified
menu for easy access to links like Blog, Inbox, Forums, Mail, etc.
Code :
template.php
function friendselectric_regions() {
return array(
'right' => t('right sidebar'),
'left' => t('left sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
'floater' => t('floater')
);
}
page.tpl.php
<?php print $floater;?>
after line 45 for the friendsElectric theme, after the header division in general.
Regards,
Sanket Medhi.
Regards,
Sanket Medhi.
Interesting idea...
Hello, Amazon. I found this item while hunting for people working on or considering developing a distribution profile and wanted to ask if there has been any further development of this idea. Such a module (which I visualize as maybe being similar to the module builder module, taking the grunt work out of creating distribution profiles) would obviously be very useful, and help to standardize the way distribution profiles are created. Is this being fleshed out, did it go on the back burner, was it tabled pending further documentation of the distribution profile development documentation? I'd be curious to know.