[development] Story vs Page - Again

Rob Barreca rob at electronicinsight.com
Fri Dec 22 06:10:35 UTC 2006

> My overriding of story in myprofile.profile hasn't worked yet 
Yeah, I really think we need to have a full bootstrap in 
profilename_install()...or profilename_enable() if we want to be 
consistent with how .install files are doing this now.

Issue at http://drupal.org/node/104765

Rob Roy Barreca
Founder and COO
Electronic Insight Corporation
rob at electronicinsight.com

Boris Mann wrote:
> On 12/21/06, Rob Barreca <rob at electronicinsight.com> wrote:
>> On the flexibility angle, I'm going to propose a patch with two/three 
>> changes:
>>  * page not promoted by default
>>  * page with comments off by default
>>  * (don't know if we can easily do this) page with "submitted by" 
>> turned off by default Nice. That would justify the inclusion a bit 
>> more for me and I ALWAYS turn off promotion and comments for page
> I don't have an issue open for this yet...I think default.profile is
> probably also the right place for this.
>> , and some things, (like defining page and story) might work better 
>> in default.profile. Yeah, that makes sense to me. You got any issues 
>> opened up for those?
> Define page and story in default.profile: http://drupal.org/node/104763
> Remove required modules from default.profile: 
> http://drupal.org/node/104764
>>  You have your install profiles somewhere I could check out?
> Just one. Will be noodling around here:
> https://svn.bryght.com/dev/wiki/CorporateSiteInstallProfile
>> I found out that in profilename_install() you don't have access to a 
>> full bootstrap so I needed to do a drupal_goto('mymodulecallback'); 
>> in profilename_install() that would do additional setup by way of an 
>> installed auxiliary setup module. Is this what you're doing or am I 
>> missing something?
> I *just* started diving into this. And I only play a developer on this 
> list :P
> I think we need to be able to use more of the API rather than having
> to do direct DB inserts. So...some sort of method of bootstrapping if
> needed? My overriding of story in myprofile.profile hasn't worked yet
> using _node_type_set_defaults and  node_type_save, so that might be
> the reason.

More information about the development mailing list