XoopsCore25
XoopsCore25 copied to clipboard
New admin theme
The current themes (administration) are not responsive and they are not practical in mobile reading. I think it would be interesting to offer a bt4 theme for the administration.
I've worked on bt4 admin theme 10 months ago, but i need help from dev to continue this theme.
here : https://github.com/alain01/cockpit-by-monxoops
And thread here : https://xoops.org/modules/newbb/viewtopic.php?post_id=365014
You could also look at the admin theme developed by Eduardo, as part of his RMCommon framework: https://github.com/bitcero/rmcommon
Alain, could you document what you've learned from trying to port the this admin them to XOOPS? For example, the API of the XOOPS Admin, and what should be consider by people trying to port an Admin theme to XOOPS?
hum, my work is empiric, I'm not developper so I 've just used includes files.
I 've see the Eduardo work (rmcommon) ! Nice but too complex for me. I know that if someone help me with my work on a new Bootstrap 4 theme, I could continue to work on it. You can test my cockpit theme. It's easy to install, follow instruction in the README.md file. I know it's not finish but i think it's a good base to work on it (or i hope that). I can add print screen.
I really like your theme in progress!
I looked at the block issue you mentioned. That's a mess :smile:
There is a comment noting the two distinct XoopsBlock implementations: https://github.com/XOOPS/XoopsCore25/blob/ee340d1fd84fee9280bbfc743c199a650e6d678a/htdocs/kernel/block.php#L27
That particular issue is resolved in the next generation. There are a lot of structural changes, so it isn't a straight forward backport. There is a plan for next generation that includes promoting blocks to a higher level, giving them unique names and moving each to its own class instead of the present messy code scrap functions.
The reason I bring this up is that there is a significant issue on relying on a block id. If it is a stock system block that existed when the system was installed, that is safe, but in any case outside of that, the block id can and will vary from system to system. The smarty_function_block codes work fine when you are building one system, but fail when distributed across systems.
So, what should I understand, what should I do?
| So, what should I understand, what should I do?
Testing with #968 would be a good start. :smile_cat:
If I were doing it, I would consider adding a file with defines for any block_id being used. That would make it easier to modify in case of any problems. It looks like it is probably safe without that.
Heyyyyyy
Magical Richard !
Now, blocs are display on this admin theme !
But just title, I cant modify them.
See and move block, no edit.
Seems to have some sort of conflict involving the class="tooltip" on the anchor elements. Disabling those on each brings the images back. Things like edit seem to work once you can see the icons.