News:

AbanteCart v1.4.2 is released.

Main Menu

Creating new extension for admin

Started by Green, December 19, 2014, 11:55:14 PM

Previous topic - Next topic

Green

I have created a new extension using developer tool of abantecart in admin. The menu and its url  was created.But the page is not linking with that menu url.I followed all the format they used but it shows "Page not found".What i have missed to do?

eCommerce Core

What is the route, the portion of URL with r?
Is the controller that you are creating accessible?

Do not forget to check abantecart log.
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

Green


Green


yonghan

Have you ever code mvc style?Since abantecart is using mvc style.And I suggest you to take a look at existing extension code so you can understand how it works.

Green

No.I have never worked in mvc. But thanks for your reply. I went through the extensions.But i couldnt find.

yonghan

#6
I suggest you to learn MVC first before creating extension for abantecart,or else you will be stucked.
Here is a quick start:

http://www.abantecart.com/document_wiki/index.php/AbanteCart_Architecture_Overview
http://www.sitepoint.com/the-mvc-pattern-and-php-1/

You can search google too about MVC.

Hope it helps


Green


yonghan


Green

QuoteWhat is the route, the portion of URL with r?

it is trial/trial. i.e(controller/pages/trial/trial.php)

Forum Rules Code of conduct
AbanteCart.com 2010 -