hello everyone,

I have a question about integrating my nodeforms with views.
I've created a node form through FAPI and i want to create a Views for that.
Is there any workaround for that?

Any responses are much appreciated!

TIA!

Comments

nevets’s picture

A view of a form does not really make sense, can you provide more detail?

achilles085’s picture

Thanx for the Reply

Okay for farther details,I just made like this node_example.module. Now, is there a way i can create a view with those fields i made in my node form and create a views(admin/build/view) fields for it?
let's say, I have a node form with a content-type of employee. Then I would like to create a list-view for all of Employee's. Is there a way i can come-up with this view?

nevets’s picture

Short answer is yes.

Simpler approach is to use the Content Construct Kit (CCK) and you get views integration for "free".

You can though provide your own views integration. With both views and advanced help install you can find information under advanced help >> views.

achilles085’s picture

I know CCK + Views = view list
but i don't know how nodeform + Views = view list

Is there any way i can create a view from my node form?

nevets’s picture

The part you are missing is views integration (it has nothing to do with the node form), see my comment above regarding advanced help.

achilles085’s picture

i was checking hook_views_api()..maybe this is the solution...

thanks nevets