New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap: Enhanced Admin GUI #252
Comments
The new GUI for Xoops admin will be totally different from previous. This will include new elements available for designers/developers modules. ThemeA new theme called Hydrogen that derives from the experience acquired with Common Utilities and based on Bootstrap 3. This theme will provide all graphical elements for admin section and its colors will be customizable. This is the current progress of graphical elements, but there are a lot of work left. New ElementsThere are new elements in this GUI, availabel for modules:
All changes pretend to maintain compatibility with current code, but in some cases, to use the new elements, new code will required. Very important: You can participate with ideas and working on changes. Please contact me. What is needed?
|
I think that the first image is good for default in XOOPS 2.6, and the structure is good, I don't think you should add more for the moment 👍 I think you should simply call cpanel without deleting the actual default. |
Eduardo, I can only say one thing: AWESOME!!!! This is an EXCELLENT START and exactly the process that I have envisioned, i.e. to see: a) what features should Admin Themes and our new "Presentation Layer" have, and So I very much appreciate you showing us your vision, and then spelling out for us what needs to change in Core to enable it! Once again, congratulations on this awesome start - the first steps are always the most difficult, but once we have the new Presentation Layer in place for our modules, XOOPS will shine again!!! |
Hummm, i want it Nowwwww ;-)))) |
Continuing a conversation that started elsewhere, regarding SVG icons. I fully agree. We need to focus on the best for tomorrow, not the best for a few years ago. I am fine with that approach. 👍 |
Re: triggerReturnEvent() ...
First we would define a class. In this case, an ArrayObject would do. We give it a name, so everyone knows what we are talking about.
Then, in
Finally, a listener could look something like this:
The menus get passed around as an object, so there is no worry about passing by reference, and we will get an error if the type does not match, so we shouldn't be trying to process garbage. The class could be modified as needed. For example, adding a method like:
With the class, there is a layer where implementation details can be adjusted if needed. And it makes the code more self documenting and robust. |
Very clear... and instructive as always. I'm agree with you. 2015-05-19 16:12 GMT-05:00 Richard Griffith notifications@github.com:
|
Looks very Nice. I have been using Drupal to make some pages for a local team and it has been an experience. I would like to share how their modules stuff looks as a suggestion for something that we could consider to work towards. Basically they show if it is enabled with a check box.. To enable one just checks the check boxes and hit submit and they are enabled as long as the required modules are also enabled. If any required modules are NOT enabled then it will enable them as well. I will attach a screen shot for an example. At a minimum I think we should be changing up the Xoops modules for 2.6 and instead of the "Official" and "extension" tags we need to remove all that and just add a Categories tag. This will allow us to group like modules together like they are on this drupal example. While their modules page is very plain I am sure we can do better but this is atleast a start. They also show required and dependent modules as well as if there is a help screen and allow permissions and configurations right from this screen. |
Report of progressThere are some changes made in Xoops GUI: Header commandsAdded support for «header commands»: elements that can be shown in page header. Commands can be added trough Admin buttons«admin buttons» is a special area where buttons can be added to provide actions in a module. Admin buttons as controled with Modules manager (in progress)The modules manager has been updated to make it more intuitive and better looking. Existing modules can be displayed as list or cards (as in previous GUI). Also the modules manager has been moved to Contextual options (item options)Added support for a new contextual options (or item options) in order to make it more easy to use and implement. Options are shown below to item (in table row) and activated/deactivated with a command button. (The above image show the item options for module item in modules manager). New javascript interfaceI'm starting the replacement for standard javascript functions contained in xoops.function(); This interface can be easily extended to increase its functionallity and make all available for other components. New dialogs using bootstrapNow the bootstrap modal component is available trough // Alert
xoops.modal.alert('Alert text');
// Confirm
xoops.modal.confirm('confirm');
// Custom dialog
xoops.modal.dialog({
title: response.title,
message: response.content,
color: 'primary',
buttons: {
main: {
label: response.close,
className: 'btn-primary'
}
}
}); Note that bootbox has been modified (small modifications) to provide some new capabilities to dialogs. Dialogs can be colorized by using the options xoops.modal.dialog({
title: '...',
message: '...',
color: 'primary'
});
Note: The above examples are based in dialog for «system module details» and is incomplete. I'm working on that. Modules logoI've changed the logo for system module, and I hope that all logos for current modules can be changes to provide a new consistent appearance. I can provide templates to adapt current logo images. Some additional changes has been made but I'll post in another report. I wait your comments and feedback. Important: this changes are not in the main repository but you can find in my XOOPS fork. Todo list:
All help is appreciated and welcomed! |
Awesome work, Eduardo!!! I'll need to install your fork and test it to give you a more meaningful feedback, but so far it looks AWESOME!!!! 😋 |
I agree with Michael, AWESOME! Sorry to be so slow in responding. I'm still catching up after vacation. I'll get a full review as soon as I can, but everything looks and sounds fantastic. |
UpdatesThese are the last updates in X26 GUI: System admin sections has been migrated to a separate URL. Now, instead of use Report of changesPreferencesNew settings manager for modules. The new design is cleaner and responsive to maximize its functionality.
Users managementAlso the users management has been ported to new GUI. Groups managementGroups management has been ported to new GUI. Other changesA lot of changes has been made in order to get this working, but more work is left. However, I think that the new GUI is pretty functional and modules templates can be adapted to new appearance. |
👍 Awesome progress!!! |
👍 Very nice Work ! |
When will it be available for testing? |
@alain01 The sidebar menu is scrollable to navigate trough modules list, however I'm planning to include a "quick search box" to find modules easily. |
@txmodxoops You can try my fork, but I not tested it on standalone installation... btw, you can help me with this and check if it is possible to install it... |
I think you need to update the Core Master, because it gives this error in installation http://localhost/XoopsCoreBitcero-master/htdocs/install/page_siteinit.php Fatal error: Unsupported operand types in D:\wamp\www\XoopsCoreBitcero-master\htdocs\xoops_lib\Xoops\Core\Kernel\Handlers\XoopsModule.php on line 94 Time Memory Function Location1 0.0005 291336 {main}( ) ..\page_siteinit.php:0 |
Great work! |
Is there a new update? :) |
@bitcero, Eduardo Cortes, is currently working on an improved GUI layer for system administration.
The text was updated successfully, but these errors were encountered: