Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 29 Jun 2014, 22:23
iacus iacus is offline
 
Join Date: Oct 2007
Adding new parameter to article node

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?
Reply With Quote
  #2  
Old 29 Jun 2014, 22:48
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004
vb_api_content_text adds the node to the database.

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

Last edited by Dead Eddie; 29 Jun 2014 at 22:57.
Reply With Quote
  #3  
Old 30 Jun 2014, 17:18
iacus iacus is offline
 
Join Date: Oct 2007
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?
Reply With Quote
  #4  
Old 30 Jun 2014, 22:05
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004
includes/vb5/frontend/controller
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:50.

Layout Options | Width: Wide Color: