News:

AbanteCart v1.4.3 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - huyhoang08

#16
API Development / Re: form processing controller?
March 15, 2016, 10:22:56 PM
thank you, now i clearly about abantecart docs,
#17
thank you, i sloved my issue, i think PHP model file should have only _ in file name
#18
First sory for my english skill.
I cleared about that, But for example:
i have 2 extension activated:
Sory, i mean from one extension i able to load a model belong to other extension?
#19
i need to load model from other controller? help me?
#20
API Development / Re: form processing controller?
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
#21
API Development / form processing controller?
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.
#22
Templates / Re: how to create new page template?
March 02, 2016, 10:28:01 PM
thank you, i sloved my issue.
#23
Templates / Re: how to create new page template?
March 02, 2016, 07:49:49 AM
Sory, you can show me example ?, please.
i found common page controller in path of 'core/engine/page.php'
---------------------------------------------------
//Process disparcher in while in case we have new dispatch back
while ($dispatch_rt){
    //Process main level controller         
    // load page layout
    if ($this->layout) {
        ....
        $dispatch_rt = "common/page";   //how i can override this on each page ?
    }
    //Do the magic
    $dispatch = new ADispatcher($dispatch_rt, array("instance_id" => "0"));
    $dispatch_rt = $dispatch->dispatch();

}
---------------------------------------------------
as you see this line:  $dispatch_rt = "common/page";

how i can override this on each page ?
one more thing, what api i can check current page template? ie: is_home(), is_category()...
Thank a lot.
#24
Templates / Re: how to create new page template?
March 01, 2016, 11:27:00 PM
Sory, i readed abantecart document. Sory for my bad english. For example:
- index page: i want to use custom template (.tpl) . ie: page-home.tpl
- contact page: i want be page-contact.tpl
..
Because abantecart use same 'storefront\view\default\template\common/page.tpl' for all pages on frontend.

I don't want hack into abantecart core file, (if can show me please). i want to use hooks function in abantecart.
#25
Templates / how to create new page template?
March 01, 2016, 09:49:22 PM
i don't know how to change default controller page(storefront/controller/common/page.php) in some pages for different HTML structure.
on other hand, i want to change HTML struct on to parent block (ie: column_left, column_right,...) in different page. Because i understand (controller: page.php) is for all pages in abantecart. Is that true?
Please explain me how to do it. Thank guys.

Forum Rules Code of conduct
AbanteCart.com 2010 -