[solved] new extension not working
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 3
- Joined: 27 Apr 2020, 06:08
[solved] new extension not working
Dear aimeos,
i already create my own extension, then registering it on composer.json
execute "composer dump-autoload"
execute "php artisan aimeos:cache"
copy from "ai-client-html/client/html/templates/" to "myExt/client/html/templates"
but the website still referring to original template..am i missing some step ?
this is my setup
i already create my own extension, then registering it on composer.json
Code: Select all
"autoload": {
"classmap": [
"ext/<yourext>/lib/custom/src",
"ext/<yourext>/controller/common/src",
"ext/<yourext>/controller/frontend/src",
"ext/<yourext>/controller/jobs/src",
"ext/<yourext>/client/html/src",
"ext/<yourext>/client/jsonapi/src",
"ext/<yourext>/admin/html/src",
"ext/<yourext>/admin/jsonadm/src"
]
},
execute "php artisan aimeos:cache"
copy from "ai-client-html/client/html/templates/" to "myExt/client/html/templates"
but the website still referring to original template..am i missing some step ?
this is my setup
Code: Select all
"require": {
"php": "^7.2",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.0",
"laravel/tinker": "^1.0",
"laravel/ui": "^1.0",
"aimeos/aimeos-laravel": "~2019.10",
"aimeos/ai-container": "dev-master"
}
Last edited by ai-otheriz on 28 Apr 2020, 06:47, edited 1 time in total.
-
- Posts: 3
- Joined: 27 Apr 2020, 06:08
[solved] new extension not working
I already solved it,
Unclear documentation should be trouble for the newbie user of this framework.(i also found it on other aimeos documentation)
I follow the document here https://aimeos.org/docs/Developers/Create_an_extension
at the first time i thought some of the text was just "explanation" not "how to instruction"
so the step is..
1. Create your own extension here https://aimeos.org/extensions/
2. Place your downloaded extension into folder "./ext/<your Ext>"
3. Copy all needed folder from original folder ai-****..to your extension folder(not all folder...folder list and location is on documentation)..
4. Copy manifest.php from any original folder(pick any)
5. Change all value on your copied manifest.php using the value on the documentation(depend, config, include,..etc)
Done..
I hope this help....
Unclear documentation should be trouble for the newbie user of this framework.(i also found it on other aimeos documentation)
I follow the document here https://aimeos.org/docs/Developers/Create_an_extension
at the first time i thought some of the text was just "explanation" not "how to instruction"
so the step is..
1. Create your own extension here https://aimeos.org/extensions/
2. Place your downloaded extension into folder "./ext/<your Ext>"
3. Copy all needed folder from original folder ai-****..to your extension folder(not all folder...folder list and location is on documentation)..
4. Copy manifest.php from any original folder(pick any)
5. Change all value on your copied manifest.php using the value on the documentation(depend, config, include,..etc)
Done..
I hope this help....
Re: [solved] new extension not working
Usually, you don't have to copy and adapt the manifest.php file.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 3
- Joined: 27 Apr 2020, 06:08
Re: [solved] new extension not working
I want to try to install aimeos "2020.4"
but the extension creator max version only "2019.x"
is it OK to use that extension version ?
but the extension creator max version only "2019.x"
is it OK to use that extension version ?
Re: [solved] new extension not working
We've updated our web site so you can create 2020 versions now:
https://aimeos.org/extensions
https://aimeos.org/extensions
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: [solved] new extension not working
Hello
the content of the folder: devoext (new extension created https://aimeos.org/extensions 11/06/2020) the folder html does not exist in the admin folder
composer.json
.
thank you
the content of the folder: devoext (new extension created https://aimeos.org/extensions 11/06/2020) the folder html does not exist in the admin folder
composer.json
Code: Select all
"classmap": [
"database/seeds",
"database/factories",
"ext/devoext/lib/custom/src",
"ext/devoext/controller/common/src",
"ext/devoext/controller/frontend/src",
"ext/devoext/controller/jobs/src",
"ext/devoext/client/html/src",
"ext/devoext/client/jsonapi/src",
"ext/devoext/admin/html/src",
"ext/devoext/admin/jsonadm/src"
]
Code: Select all
composer dump-autoload
Code: Select all
[RuntimeException]
Could not scan for classes inside "ext/devoext/admin/html/src" which does not appear to be a file nor a folder
thank you
Re: [solved] new extension not working
No, it's "admin/jqadm/src"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- parmonov98
- Posts: 33
- Joined: 24 Sep 2020, 12:12
Re: [solved] new extension not working
That's not a problem of the generated extensions.
The composer.json shipped with the generated extensions are fine.
The composer.json shipped with the generated extensions are fine.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: [solved] new extension not working
Thanks ai-otheriz!!!ai-otheriz wrote: ↑28 Apr 2020, 06:46 I already solved it,
Unclear documentation should be trouble for the newbie user of this framework.(i also found it on other aimeos documentation)
I follow the document here https://aimeos.org/docs/Developers/Create_an_extension
at the first time i thought some of the text was just "explanation" not "how to instruction"
so the step is..
1. Create your own extension here https://aimeos.org/extensions/
2. Place your downloaded extension into folder "./ext/<your Ext>"
3. Copy all needed folder from original folder ai-****..to your extension folder(not all folder...folder list and location is on documentation)..
4. Copy manifest.php from any original folder(pick any)
5. Change all value on your copied manifest.php using the value on the documentation(depend, config, include,..etc)
Done..
I hope this help....
i had same problem and solved with your tips!!