Problem/Motivation
Responsive preview list behaves differently in backend (editing of content) and frontend (viewing of content).
Problem appears, because different themes are used in frontend and backend, where different templates are used for displaying of item list.
It can happen that item lists are displayed totally different (for example with additional wrappers or without them at all) and in that case functionality for adjusting of list position will not work properly or styling provided by module that is applied to item list.
Proposed resolution
In order to make it more uniform, possible option is to provide item list template with module, that will make list uniform in both places (frontend and backend) and also it offers possibility to customize template further in themes.
Simplest option is to stick to classy theme item list template and use that one as base.
User interface changes
User interface will be now uniform in backend and frontend. And it can happen if someone has theme with customized template for item-list, that one will be ignored and template provided by module will be used.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2860421_2.patch | 1.63 KB | mtodor |
Comments
Comment #2
mtodor commentedHere is patch with proposed solution.
Basically Classy theme is used as base and it's just extended without any additional modifications, with that we have ensured that item list will be same in frontend and backend.
Comment #4
chr.fritschSince i don't know a better solution for this i will commit that.
Thanks for the contribution