support

Author Topic: form processing controller?  (Read 8999 times)

Offline huyhoang08

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
form processing controller?
« on: March 06, 2016, 12:06:10 AM »
Today i want to add new form processing controller? example: to save data on my google spreadsheet.
can i able to add new processing controller for form?
please tell me how to do it? thank man.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2068
  • Karma: +327/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: form processing controller?
« Reply #1 on: March 07, 2016, 02:08:08 PM »
You have 2 ways:
1. to Create your own extension.
2 to create form as content page with your custom html inside
what do you prefer?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline huyhoang08

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: form processing controller?
« Reply #2 on: March 07, 2016, 10:23:53 PM »
i hapy to create my own extension, but i don;t know what api for using please guide me a man. Thanks

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2068
  • Karma: +327/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: form processing controller?
« Reply #3 on: March 09, 2016, 03:57:29 AM »
so..
you should to
1. download developer tools for version AbanteCart (just copy this folder into your extensions directory) and install it.
2. create your own extension via admin menu and add some storefront controller in the edit form. This controller will be process you form data . Also do not forget to set hook file of your extension. You will need to change some basic page in admin via hooks... for ex form manager edit from page.
3. Also you need to set tpl for your storefront controller.
4. install and enable your own extension and start to develop :)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline huyhoang08

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: form processing controller?
« Reply #4 on: March 15, 2016, 10:22:56 PM »
thank you, now i clearly about abantecart docs,

 

Powered by SMFPacks Social Login Mod