Skip to content
Marius edited this page Aug 25, 2014 · 5 revisions

Backend CRUD

After installing the module you will see the following menu. It is under the CMS main menu because I told it to be there.

menu

For the Author entity there is only one menu item, but for Article And Sections there are 3.
1 for managing the entities, 1 for managing the entity attributes (because they are EAV) and one for managing comments.

You can even restrict access to some admins from the user roles.
acl

The grid is a magento usual grid with filters and all.
It has an export capability and a mass action select from where you can bulk delete entities or change the status:

grid

The add/edit form also looks as usual.
Because the entity allows frontend listing and url rewrites you will see an url key field. If left empty it will be filled in automatically based on the name.

add-edit

For the Section entity, you will see similar screen to the category CRUD because it's a tree entity:

section-edit

You will be able to select the associated articles to that section:
section-articles

You can choose to select associated products.
section products

...and with the categories

section categories

The relation with products and categories work the other way around also.
If you edit a product or a category you will see the related entities (articles and sections in this example) in a separate tab.

category *** product

When adding an article, because the author is a parent entity of the article you will see a dropdown with all the available authors to select for your article:

article-author

If you choose to make your entities searchable in the backend you can use the global search to look for them:

global search
Clone this wiki locally