|
#1
|
|||
|
|||
|
Hey guys,
I tried copying the "order_forms/general/" to "order_forms/okteck/" but it doesn't appear in Wizard to create Order Forms. Is this normal? Is there a way to create my own type of form without having to modify/tweak the default forms? Thanks! |
|
#2
|
||||
|
||||
|
You can create your own, but it's usually a good idea to study an existing order form template. Essentially there are 2 types of order forms.. Integrated order forms which use order templates in the order_forms directory and API based order forms that use the API.
The reason that copying an order template didn't make it appear as an option in Blesta is likely that you didn't change the name of the class file, and the name of the class. |
|
#3
|
|||
|
|||
|
Can you point me in the direction of a walk-through of exactly how you create a custom order form?
All I want to do for now is set up Hosting only order forms, but I'm totally confused by the way things appear to work. I can copy the order_forms/subdirectory, but exactly how does the template fit together? What bits are editable? Where do I start? Also, re the API, where is the documentation which details all the calls, etc? In particular as to how the Order process is controlled? This is really holding me back to the point that I've almost given up... |
|
#4
|
||||
|
||||
|
You can check the folder api_samples in blesta directory to see a example of multible files .
__________________
Naja7Host.com النجاح هوست Moroccan & Arabic Hosting as low as 15$/Year . Domain .ma as low as 30$/Year . French Language Here Arabic Blesta's Language Soon ..... |
|
#5
|
|||
|
|||
|
Yes, I've seen those, but that doesn't tell me anything other than what I can already glean.
What template elements are editable? What calls are required, and to where, to ceate an API order form and what syntax is required? Variable values? What authentication is required if called from a remote server? The documentation is seriously lacking here. All I want is a simple step-by-step process explaining how to create a custom order form via the API. That really isn't too much to ask is it? |
|
#6
|
||||
|
||||
|
in this foled , you will find another folder named order , there you will find the tempaltes folder for every step , also included a order php class with step . i think if you have check all this file you will find a good way to code your own order via API or at least modify the default one to a custom need .
__________________
Naja7Host.com النجاح هوست Moroccan & Arabic Hosting as low as 15$/Year . Domain .ma as low as 30$/Year . French Language Here Arabic Blesta's Language Soon ..... |
|
#7
|
||||
|
||||
|
If you want to do a hosting only order form, we recommend using the "General" order template.
Writing custom integrated, or API based order forms is no easy task, and requires extensive programming knowledge. |
|
#8
|
|||
|
|||
|
I guess I'll have to leave Blesta until the API is documented.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| API Sample Order Form | davidolaj | API & Order Forms | 1 | 07-05-2009 10:50 PM |
| API Order Form | davidolaj | General Discussion | 3 | 05-08-2009 03:11 PM |
| Integrated order form suggestions | FB-Ryan | Feature Requests | 7 | 04-12-2009 06:35 PM |
| Order Form - Again | naja7host | API & Order Forms | 4 | 12-20-2008 12:33 PM |
| Configuring Your Order Form (version 1.1.0-1.3.3) | Cody | API & Order Forms | 2 | 09-13-2007 07:17 PM |