Many of my users have very specific roles. I want to make their life easier. For example, someone who posts new job openings...

I'd like to give her a way to create new content where the content is already formatted and all she has to do is fill in the missing pieces. So she clicks "Create new content" -> chooses an appropriate content type -> Choose a template, for example, "job posting." The wysiwyg editor would have a dummy job posting and she could just replace the boilerplate text with the stuff specific to her post.

I have several things like this, not just job postings. Anyone know a way to achieve this? Do you create custom content types for each type?

I'm on Drupal 4.7 but I'm looking toward the future where I'll migrate to 5.1.

Comments

p6’s picture

My 2 cents

1) Contemplating here for the most part. See if you can do a CCK workaround with the whole thing... A 'fill-the-form-out' type perhaps ?.. I'm hardly the cck person and I reckon there will be a load of field-creations and misc stuff to take care of.

2) Write, get written something custom for yourself. Prefilled form text done with arbitrary hook_form_alter() magic ? Other ways to have default values perhaps ?

Would be highly useful if someone can rig something up that does this.. I know of people (inclusive of myself) who've had situations when something of this sort would've come in handy.

- Pavan Keshavamurthy

- Pavan Keshavamurthy
http://grahana.net/

newz2000’s picture

I have two concerns,

I don't really want to *limit* their input to certain fields, I want them to have full control over the final result, I just want to save them the work of entering the repetitive input.

Second, I'm fearful that doing too much with cck will cause me problems when I upgrade to 5.1.

The ideal scenario would be to have the wysiwyg pre-populated with data, similar to MS Word's templates.

newz2000 on freenode

GSMKer_Kevin’s picture

In my opinion cck would be the way to go.

I'm fearful that doing too much with cck will cause me problems when I upgrade to 5.1.

For the most part you should be ok with cck from 4.7 to 5.1.

The ideal scenario would be to have the wysiwyg pre-populated with data, similar to MS Word's templates.

It sounds like that is what you really want. You want pre-populated data but don’t want to limit their input, so having templates they could select from could be your middle ground road. Would definitely require some special coding.

gsmk.com
The only barriers that exist are the ones we create!