CMS extension
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: CMS extension
It's mainly a matter of configuration of the jqtree library:
https://mbraak.github.io/jqTree/
You can use the JS code from the catalog as reference:
https://github.com/aimeos/ai-admin-jqad ... catalog.js
https://mbraak.github.io/jqTree/
You can use the JS code from the catalog as reference:
https://github.com/aimeos/ai-admin-jqad ... catalog.js
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: 27
- Joined: 04 Jun 2020, 14:00
Re: CMS extension
Hello,
we need some feature of categories for CMS pages. For example, have something like a news category and posts for it.
I right understand that is a thread about this also, as a catalog menu, where I can assign some pages? The extension will have this feature or we need to do so by ourselves (in what way)?
Thank you for any answer!
we need some feature of categories for CMS pages. For example, have something like a news category and posts for it.
I right understand that is a thread about this also, as a catalog menu, where I can assign some pages? The extension will have this feature or we need to do so by ourselves (in what way)?
Thank you for any answer!
Re: CMS extension
No the thread is not primarily about categories but the new CMS extension for creating custom pages. You can use it for news too but building a menu for your news must be done by yourself.
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: 27
- Joined: 04 Jun 2020, 14:00
Re: CMS extension
Maybe, you can advise a proper way how to create categories with the ability to assign page to category?
Just the same as product and catalog, but for pages, like category and post? For example creating news, promotions categories and assign multiple pages for them.
Thank you
Just the same as product and catalog, but for pages, like category and post? For example creating news, promotions categories and assign multiple pages for them.
Thank you
Re: CMS extension
The best way would be to implement a page tree in the CMS extension. There have been several users who wanted to do this but we got no pull request with code yet.
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: 27
- Joined: 04 Jun 2020, 14:00
Re: CMS extension
Hi, I haven`t found a more easy solution then fully copy and do some adjustment of managers, items, templates, themes from the catalog domain to the new category domain and set all relation cms pages to this category. From the first tests, all work fine, I can set any cms page to the category.
I did it in the fork of extension, please, take a look. If it ok to do it this way, I can make a pull request in the near future (If you have some your contribution guides, give docs, please).
https://github.com/zherdev-artem/ai-cms-grapesjs/
I did it in the fork of extension, please, take a look. If it ok to do it this way, I can make a pull request in the near future (If you have some your contribution guides, give docs, please).
https://github.com/zherdev-artem/ai-cms-grapesjs/
Last edited by mr.zherart on 26 May 2021, 11:06, edited 1 time in total.
Re: CMS extension
You create a new panel for managing the page tree but that's not wise. Use the existing CMS panel, manager, etc. and extend them by the required code to manage a tree. Let's do it step by step and we guide you through the process.
First of all, create a new fork from aimeos/ai-cms-grapesjs so you start from a clean base. Then, extend the MShop CMS manager and item to support trees of pages like the catalog manager does:
- https://github.com/aimeos/ai-cms-grapes ... /MShop/Cms
- https://github.com/aimeos/aimeos-core/t ... op/Catalog
If that works, we will merge your pull request for that and you can move forward to extend the CMS panel in the admin backend in another PR.
First of all, create a new fork from aimeos/ai-cms-grapesjs so you start from a clean base. Then, extend the MShop CMS manager and item to support trees of pages like the catalog manager does:
- https://github.com/aimeos/ai-cms-grapes ... /MShop/Cms
- https://github.com/aimeos/aimeos-core/t ... op/Catalog
If that works, we will merge your pull request for that and you can move forward to extend the CMS panel in the admin backend in another PR.
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: 27
- Joined: 04 Jun 2020, 14:00
Re: CMS extension
First of all, I am not fully understand why I do not need the new panel (or the domain in other words?).
For understanding. I need the same feature as catalog-product, for category-page relation, with similar DB tables and so on.
Like in Wordpress, for example, categories and posts.
https://ibb.co/r6czypH
https://ibb.co/JHx1Vyz
https://ibb.co/1f767Ss
Farther. Unfortunately, I have hard deadlines for our project. So, if these duplicated backend will suit me as is, these couple of weeks I will keep it, and try to do other tasks for the frontend for our shop blog.
After, I am going to come back to develop it in the right way, because, I think it needs to be from the box.
So if I can achieve category-post functionality similar to catalog-product by extends the CMS Manager I will appreciate it if you give me a full picture (all steps for manager, items, SQL, JS, API) of what I need to do for category-posts relations. With this information, I will try to develop a full concept, when I can.
Thank you
For understanding. I need the same feature as catalog-product, for category-page relation, with similar DB tables and so on.
Like in Wordpress, for example, categories and posts.
https://ibb.co/r6czypH
https://ibb.co/JHx1Vyz
https://ibb.co/1f767Ss
Farther. Unfortunately, I have hard deadlines for our project. So, if these duplicated backend will suit me as is, these couple of weeks I will keep it, and try to do other tasks for the frontend for our shop blog.
After, I am going to come back to develop it in the right way, because, I think it needs to be from the box.
So if I can achieve category-post functionality similar to catalog-product by extends the CMS Manager I will appreciate it if you give me a full picture (all steps for manager, items, SQL, JS, API) of what I need to do for category-posts relations. With this information, I will try to develop a full concept, when I can.
Thank you
-
- Posts: 27
- Joined: 04 Jun 2020, 14:00
Re: CMS extension
One more thing, right now I have a bug with 2021.04.3, I can not save another content language item.
For example, I created EN content, save it, all ok, after I duplicate it, set, for example, RU, save, and it will reset my content item as RU. But I need EN, and RU. On demo.aimeos.com all things work as expected.
For example, I created EN content, save it, all ok, after I duplicate it, set, for example, RU, save, and it will reset my content item as RU. But I need EN, and RU. On demo.aimeos.com all things work as expected.
Re: CMS extension
The problem has been fixed and a new version released.
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