[development] D6 Programmatic creation of a custom content type with fields

Victor Kane victorkane at gmail.com
Mon Jan 17 16:57:44 UTC 2011

Sorry, the work is done in the module pft_basic in

It reads the files from the includes subdir. I got taxonomy and content


On Mon, Jan 17, 2011 at 1:26 PM, <jeff at ayendesigns.com> wrote:

>  Hi Victor,
> Wow. Nice work (i-p)! I've been frolicking through it, and reached
> pft.profile. That creates two content types, but I don't see any including
> of a file that would contain exported type or field info. A treasure map
> would be most appreciated :)
>  On 01/17/2011 10:20 AM, Victor Kane wrote:
> I feel I have improved upon that in my (work in progress) Project Flow &
> Tracker installation profile, where I use a function from the installation
> profile API to create a content type and its fields from a file (holding
> what is exported via content copy).
>  You can download that here (branch  6.x-1.0-alpha1):
>  https://github.com/victorkane/ProjectFlowAndTracker/tree/6.x-1.0-alpha1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110117/57b17a0b/attachment.html 

More information about the development mailing list