I was thinking of creating a contract development system. I can think of a couple ways to do it programativally, but I wanted to check to make sure there were no modules out there that did htis already.
basically, I want to have a CCK form that asks for detail information, perhaps name, address, SS#...

that will produce a contract. so the fields would be inserted into the form. BUT I also want to be able to create a template/ boiler plate contract. actually several contracts.

is this what this module does?

Comments

Alan D.’s picture

Status: Active » Fixed

Hoping that it will eventually, but still needs some TLC first. The main goal was creating a quick easy way to tie into the menu system for quick and easy content creation, and it is growing from that.

My focus will be in cleaning up the backend system first to allow different types of profiles to be set up to be used as the defaults for creating new content. That is to set profiles to assign to content types rather than the existing form that is embedded in the edit content type form.

One of the extensions to the existing configuration will be the option to be able to set up an existing node to be available to serve as a template for the node fields.

At this stage it would be fairly trivial task to allow the profiles to be passed as a parameter to the prepopulate step, meaning that it would be perfect for your goal, minus maybe a lock on the fields that you do not want the user to modify in the template.

So the answer is no, but given time yes.

Time is always an issue, so no timelines have been set for these goals.

Personally, I would create either a content type for each or singular type with a vocab, and use nodeapi prepopulate step to prepopulate the content (if editable by client) or use form alter (if not editable) to set up the fields as you want.

Eg: set the value of the body, and convert this to a value field. Then add a html field that shows the content of the contract.

IrishGringo’s picture

yes, that sounds like good ideas... I just can not beleive that there is not a module out there that can do this out of the box.

its just a situation where someone fills out their name, address, phone number... and the fields are prepoluated in a contract that they would print and sign...

Alan D.’s picture

Component: Documentation » Code
Category: support » feature
Status: Fixed » Closed (fixed)

Just an update, the first release candidate has these features for the menu, title, body and taxonomy fields. Many fields have full token support for four objects - the node you came from / node template (existing node) / logged in user / user template (existing user). I've built in some menu callbacks in the form of:

node/add/[node type]/crc-preset/[preset id]

There are no automated tools for these links, you need to add them yourself