I am creating a new type, and I was wondering if flexinode allowed you to set a specific title for content.
EX: Content Type is named "Foo", and it has a title. When a user creates one of this type, the title gets set automatically for the user to something like "Users Foo". Add to this I need the restriction that each user can only one "Foo" created.

Ideas on if this can be done? Perhaps Flexinode is not what I am looking for?

Thanks

Comments

jasonwhat’s picture

As far as the title, this can be handled with php template by creating a specific node.tpl.php file for the flexinode type. Check this out, http://drupal.org/node/45475.


I'm not sure about only allowing users to post one node of the type, I'm curious about this myself. I think a module was created to handle this. I believe this one, http://drupal.org/node/50850 though it is only in 4.7 and I need it for 4.6.

magnusprime’s picture

I didnt think of overriding the template. Thats a good idea.
But does that set just the display, or also the editing of the node?

I want the title to be fixed and unchangeable.
Ill look into it somewhere, as I think this is the right way to go.

jasonwhat’s picture

It won't effect the editing form that I know of. You might just need to use some CSS "display none" and not have the title field show. I think there is a way to have the field filled in automatically by usigng a custom url to get to the form. I can't remember where I found that though.