PDA

View Full Version : Adding new parameter to article node


iacus
06-29-2014, 09:23 PM
Hi there,

I'm quite new to vB programming. I'd like to add a new parameter to vB article nodes, so I've added a column in the mysql db and I've modified templates to add a new input field. Now I'm having a hard time finding out where the new node is created and added in the db. I've seen several of the php apis, but I'm afraid I'm overdoing it. Anyone could give me a pointer please?

Dead Eddie
06-29-2014, 09:48 PM
vb_api_content_text adds the node to the database.

vb5_frontend_controller_createcontent::index() is the controller that calls the API.

iacus
06-30-2014, 04:18 PM
Hi, thank you for your answer. I found the class vb_api_content_text, but I didn't manage to find the controller you mentioned. Where is it?

Dead Eddie
06-30-2014, 09:05 PM
includes/vb5/frontend/controller