CMS extension

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Setup new entity for jsonadm

Post by MikaelNazarenko » 09 Feb 2021, 11:01

After I renamed namespaces and added some methods into Cms Manager, I got the following error:

Code: Select all

Missing required parameters for [Route: aimeos_shop_jqadm_search] [URI: admin/{site}/jqadm/search/{resource}].
and this was the url:

Code: Select all

/admin/default/jqadm/search/cms?lang=en
I keep trying to get it worked

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Setup new entity for jsonadm

Post by aimeos » 09 Feb 2021, 15:29

We committed all our pending changes and now it's in a first usable state (without the editor, which is still a dummy). The item view also contains already the tree view now.

Please note, that it's currently working with Aimeos dev-master only due to several breaking changes in the core for 2021.x so you should develop using Aimeos dev-master first. We can backport the code to 2020.10 in a separate branch after we got a working solution.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Setup new entity for jsonadm

Post by MikaelNazarenko » 09 Feb 2021, 15:38

Sorry, this I tried:

Code: Select all

composer require aimeos/ai-cms-grapejs:dev-master
and this I got:

Could not find package aimeos/ai-cms-grapejs in a version matching dev-master

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Setup new entity for jsonadm

Post by aimeos » 09 Feb 2021, 15:49

Use

Code: Select all

composer req aimeos/ai-cms-grapejs
or

Code: Select all

composer req aimeos/ai-cms-grapejs:dev-main
Github creates new repositories with "main" branch instead of "master".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Setup new entity for jsonadm

Post by MikaelNazarenko » 09 Feb 2021, 15:55

hm, but I still get error when I go to cms page in admin panel:

Code: Select all

Interface 'Aimeos\MShop\Common\Manager\ListsRef\Iface' not found

these are my versions:

Code: Select all

aimeos/ai-admin-jqadm                2020.10.6        Aimeos Vue.js+Bootstrap admin interface
aimeos/ai-admin-jsonadm              2020.10.1        Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html                2020.10.8        Aimeos ai-client-html extension
aimeos/ai-client-jsonapi             2020.10.3        Aimeos JSON API extension
aimeos/ai-cms-grapejs                dev-main f299674 Aimeos ai-cms-grapejs extension
aimeos/ai-controller-frontend        2020.10.1        Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs            2020.10.4        Aimeos ai-controller-jobs extension
aimeos/ai-gettext                    2020.10.1        Aimeos Gettext extension
aimeos/ai-laravel                    2020.10.2        Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer                2020.10.1        SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core                   2020.10.7        Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel                2020.10.3        Professional, full-featured and high performance Laravel e-commerce package for online shops and complex B2B projects
aimeos/map                           1.10.0           Easy and elegant handling of PHP arrays as array-like map objects similar to jQuery and Laravel Collections

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Setup new entity for jsonadm

Post by aimeos » 09 Feb 2021, 16:08

Like said, you need a setup using Aimeos dev-master for development because there have been some breaking changes in the Aimeos core in the current dev-master and aimeos/ai-cms-grapejs is compatible to Aimeos dev-master only at the moment.

For a quick working setup, create a new Aimeos project for development:

Code: Select all

composer create-project aimeos/aimeos aimeosdev
Later, when everything is fine, we can backport the code to 2020.10
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Setup new entity for jsonadm

Post by MikaelNazarenko » 09 Feb 2021, 17:14

Strange really, I have created the new project with command you provided, but now I can't log in to back-end( The error is correct. But I get "These credentials do not match our records.". Also tried to create admin user with command:

Code: Select all

php artisan aimeos:account --admin <email>
maybe it tries to find user in mshop_customer table ?

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Setup new entity for jsonadm

Post by aimeos » 09 Feb 2021, 17:35

Done the same and it worked fine. Check if it's a password mismatch and try again with:

Code: Select all

php artisan aimeos:account --super me@localhost
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Setup new entity for jsonadm

Post by MikaelNazarenko » 09 Feb 2021, 18:56

hmmmm, I have created aimeos project with this command:

Code: Select all

composer create-project aimeos/aimeos good-food-test.test
really, I even thought that project name could do matter, and also tried with:

Code: Select all

composer create-project aimeos/aimeos aimeosdev
and installed cms package with this command:

Code: Select all

composer req aimeos/ai-cms-grapejs:dev-main
and now I get this error when go on cms page:

Code: Select all

Interface 'Aimeos\MShop\Common\Manager\ListsRef\Iface' not found
Help me, please, to get it work )

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: Setup new entity for jsonadm

Post by aimeos » 09 Feb 2021, 21:29

Sorry, it must be:

Code: Select all

composer create-project aimeos/aimeos:dev-master aimeosdev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply