[development] Story vs Page - Again

Rob Barreca rob at electronicinsight.com
Fri Dec 22 04:53:39 UTC 2006


> 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 think I uncovered some areas that could be improved in 
> default.profile -- some stuff (like required modules) should be moved 
> to system.install
I've been doing a lot of work on my own install profile over the past 
couple weeks and agree with you there. You shouldn't have to worry about 
the required modules since...uh, they're required. We shouldn't give 
users the ability to forget to include node module (although they'd 
probably find out really quickly). :-)

> , 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?

You have your install profiles somewhere I could check out? 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?

Rob Roy Barreca
Founder and COO
Electronic Insight Corporation
http://www.electronicinsight.com
rob at electronicinsight.com



Boris Mann wrote:
>
>
> On 12/21/06, *Khalid B* <kb at 2bits.com <mailto:kb at 2bits.com>> wrote:
>
>
>     The reason they exist is historical, and is just for flexibility.
>
>
> And for an upgrade path from 4.7.
>
> 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
>
>     Having two content types, even though identical in fields,
>     provides more
>     flexibility in workflow. For example, one can be moderated by default,
>     and have comments on by default, the other can be not so.
>
>     In 5.0, you can define your own type, or delete story if you don't
>     like it.
>
>
> I've been looking at programmatically defining new / different content 
> types as part of alternate install profiles. I spent some time on this 
> today and I think I uncovered some areas that could be improved in 
> default.profile -- some stuff (like required modules) should be moved 
> to system.install, and some things, (like defining page and story) 
> might work better in default.profile.
>
> I encourage everyone to try and make an install profile by doing "cp 
> -R profiles/default profiles/your_new_profile" -- I suspect this is 
> the "cut and paste" install profile method that we'll see the most of 
> initially.
>
> I got pretty far today in perhaps an hour. I wanted to not have story, 
> but instead a replacement node type called "pressrelease".
>
> -- 
> Boris Mann
> Vancouver 778-896-2747
> San Francisco 415-367-3595
> Skype borismann
> http://www.bryght.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20061221/22f16750/attachment-0001.htm 


More information about the development mailing list