on 07-03-2018 4:55 PM
In backoffice there is a default widget displaying a Product List (+ Search, + Editor Area)
I want to create the same widget but customize the columns in the list view, and then put it right below the "Products" menu and call this menu item "Cool products" 😉
I looked at the Customizing the Widgets Structure in the Backoffice-Based Application but it didn't make everything clear for me.
I created a new extension from ybackoffice
and I know I need to modify the myextension-backoffice-widgets.xml
.
Now I suppose I need to extend the explorerTree
widget somehow and insert a new widget into it, that should contain Advanced Search widget, Collection Browser widget, and Editor Area widget. And then I can go on and customize it. Maybe that's the wrong way, but that's how I imagine it now.
The problem is I can't find Product-related entries in the ext-backoffice's backoffice-widgets.xml
and don't know what to copy to my xml. Any help even in the form of a link to help would be appreciated.
Hi ,
This is how it works:
*-widgets.xml
file contains only a meshup: definition on how widgets are located against each other, what widgets are in play, how they should behave (widget settings defines particular widget instance behaviour, but rather from about purpose, bussiness logic, etc)
*-config.xml
defines detailed UI configuration that may be defined differently for different types, users, roles, etc. What is also important - this configuration may be reused by different widget instances (in most cases widget has a setting that says which UI configuration should be used by this particular instance)
Hope now it is more clear to you, how to accomplish, what you need.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh I understood my main mistake. I should've looked in myextension-backoffice-config.xml
- that one contains all the data. The myextension-backoffice-widgets.xml
as opposed to it contains only the widget settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.