I have been working on a few manager modifications which are almost ready for some testing. If anyones interested here are a few highlights:
- new header.inc.php and footer.inc.php
- incorporating jquery and jquery ui
- new manager welcome screen, including ability to set a .txt or html file for the welcome tpl
- dynamic tab / tab content creation
- build tabs from files, documents, chunks
- jqui sample module with demos
Theres alot more but a few screenshots are attached. I should have something testable tomorrow
Well done! I like it! This project is going very well, there are lots of improvements already!
What about adding (in the future) a link on the top right to customize the Dashboard? Something like "add new tab" or "add new box"? Each box could have two fields, title and content (with a WYSIWYG?). The link hidden or visible depending on permissions.
See the screenshots.
-
☆ A M B ☆
- 24,524 Posts
Having the "action' pages all use templates, the same as the "welcome" page does, it'll be easy to customize the manager by creating a cloned manager theme. It can be used site-wide through selecting your new theme in the site configuration, or individual users can be assigned the theme. It should also be possible to assign a theme based on group and/or role with a little more tweaking.
-
☆ A M B ☆
- 24,524 Posts
I think the main interest is in having the Tree in its own frame, rather than as part of the whole page.
Status update
Finished unit tests and PHPDoc on class SystemEvent.
For tests of DBAPI I need to mock global $modx, which represents the class DocumentParser. Mocking through PHPUnit don't work because there are to many public variables defined and used.
My idea is know to create a DocumentParser class with empty functions and all variables to use this as mock object all the way.
Gone away and found a better place to stay
-
☆ A M B ☆
- 24,524 Posts
Well, that's all way over my head! I'm just glad we have people with skills like that on our side.