abmcr Posted December 14, 2022 Share Posted December 14, 2022 I have a strange error in installation process. The module don't install itself : i attach the screenshot.. PW is a correct version but the module say "Less". What is broken? Thank you Link to comment Share on other sites More sharing options...
bernhard Posted December 14, 2022 Author Share Posted December 14, 2022 Nothing is broken. It just means that you don't have the required Less module installed. Link to comment Share on other sites More sharing options...
PWaddict Posted January 11, 2023 Share Posted January 11, 2023 Hi @bernhard installed Less module and then AdminStyleRock but when I submit the "Primary Color" field I'm getting the following fatal error: Fatal Error: Uncaught Error: Call to a member function forceRecompile() on null in C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php:168 #0 C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php(123): AdminStyleRock->iframe(Object(InputfieldWrapper)) #1 C:\laragon\www\mysite\wire\core\Modules.php(4112): AdminStyleRock->getModuleConfigInputfields(Object(InputfieldWrapper)) #2 C:\laragon\www\mysite\wire\core\Wire.php(419): Modules->___getModuleConfigInputfields('AdminStyleRock', Object(InputfieldForm)) #3 C:\laragon\www\mysite\wire\core\WireHooks.php(952): Wire->_callMethod('___getModuleCon...', Array) #4 C:\laragon\www\mysite\wire\core\Wire.php(484): WireHooks->runHooks(Object(Modules), 'getModuleConfig...', Array) #5 C:\laragon\www\mysite\wire\modules\Process\ProcessModule\ProcessModule.module(1680): Wire->__call('getModuleConfig.. (line 168 of C:\laragon\www\mysite\site\modules\AdminStyleRock\AdminStyleRock.module.php) Link to comment Share on other sites More sharing options...
bernhard Posted January 12, 2023 Author Share Posted January 12, 2023 Hey @PWaddict thx for the report. I had a look and you just need to install RockFrontend to make it work. Not sure if we really need that dependency just for this single feature but as a quickfix that is what you can do ? Link to comment Share on other sites More sharing options...
PWaddict Posted January 12, 2023 Share Posted January 12, 2023 3 hours ago, bernhard said: Hey @PWaddict thx for the report. I had a look and you just need to install RockFrontend to make it work. Not sure if we really need that dependency just for this single feature but as a quickfix that is what you can do ? Since it wasn't working, I've uninstalled AdminStyleRock and followed the instructions from here. You should mention somewhere on AdminStyleRock module or it's page that specific field to work requires the RockFrontend module to prevent confusion. 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 12, 2023 Author Share Posted January 12, 2023 Thanks for educating me on how I should develop my free and open source modules ? I hope you don't mind that I went a different route and added a check if RockFrontend is installed or not. Everything works without RockFrontend now as of v.1.0.6 Thx for spotting and reporting that issue. 2 Link to comment Share on other sites More sharing options...
bernhard Posted August 11, 2023 Author Share Posted August 11, 2023 v1.3.0 is out and makes it even easier to set a custom logo in the PW backend ? Link to comment Share on other sites More sharing options...
bernhard Posted January 26 Author Share Posted January 26 I'm working on improving the RockPageBuilder config page and added toggle buttons instead of checkboxes as they are a lot more intuitive (especially if you have default=yes toggles, where you'd need to use a negative meaning with checkboxes, eg "dont use the widgets feature" vs. "use widgets feature yes/no" The default toggle looks like this in ProcessWire: There it is not really obvious which value is selected. Is the grey one the active item or the shiny white one? I think this is much better: So I'm wondering if that should be a global default for toggles in AdminStyleRock - what do you think? 1 Link to comment Share on other sites More sharing options...
MarkE Posted January 26 Share Posted January 26 1 hour ago, bernhard said: So I'm wondering if that should be a global default for toggles in AdminStyleRock - what do you think? I think that's a lot clearer 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 26 Author Share Posted January 26 Thx! While I don't agree on everything, this was an interesting read: https://www.nngroup.com/articles/toggle-switch-guidelines/ I've added some opacity to make it even more obvious ? Link to comment Share on other sites More sharing options...
matjazp Posted January 26 Share Posted January 26 I don't like toggles at all. I find them confusing. I use a checkbox or radio group. It’s clear what you want, accessible and doesn’t make me think. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now