bernhard Posted November 7, 2017 Author Share Posted November 7, 2017 Thank you Sam Give yourself 30 minutes and learn to create a process module. Use InputfieldMarkup and you'll be impressed what's possible 2 Link to comment Share on other sites More sharing options...
arjen Posted November 7, 2017 Share Posted November 7, 2017 2 hours ago, bernhard said: Give yourself 30 minutes and learn to create a process module. Agreed. This is easier than you might think. A whole new world opens up. This should be highlighted as an USP for ProcessWire. Especially with the new UIkit3 theme no need to built custom front-ends anymore. 3 Link to comment Share on other sites More sharing options...
SamC Posted November 7, 2017 Share Posted November 7, 2017 Ha yeah, me looking at the hello world module looks something like this: Not that I won’t keep trying though until I can do it. 3 1 Link to comment Share on other sites More sharing options...
arjen Posted November 8, 2017 Share Posted November 8, 2017 The hello world module probably isn't the best module to start if you want to learn Process Module. Take a look at the ProcessHello module or other Process modules like ProcessAccessOverview or ProcessLoginHistory. 3 Link to comment Share on other sites More sharing options...
szabesz Posted November 8, 2017 Share Posted November 8, 2017 (edited) On 11/8/2017 at 10:32 AM, arjen said: Take a look at the ProcessHello module or other Process modules like ProcessAccessOverview or ProcessLoginHistory. And start your timer. You have only: On 11/7/2017 at 9:13 AM, bernhard said: 30 minutes and learn to create Sorry for this, I could not resist Edited July 2, 2018 by szabesz typo 1 2 Link to comment Share on other sites More sharing options...
SamC Posted November 9, 2017 Share Posted November 9, 2017 I thought a module was a module. Then I hear about process module. Gonna look into this, but surely need to improve my php first and learn more about how classes work etc. in order to extend existing ones (and have a rough idea what I'm actually extending). I'll have a good read through the code of the (process) modules listed so far. No doubt I'll be back to that gif face again. Link to comment Share on other sites More sharing options...
DaveP Posted November 9, 2017 Share Posted November 9, 2017 It is actually simpler than it looks, you just have to be brave! And use a disposable local install of PW, just in case you blow it to smithereens. (I'm joking of course, so long as you leave /wire/ alone, there isn't much damage you can do.) It's a fantastic feeling of achievement seeing your own custom page in the PW backend. On 11/7/2017 at 10:28 AM, arjen said: This should be highlighted as an USP for ProcessWire. @arjen is quite right. The extensibility of PW's backend isn't something you see mentioned in reviews etc. 3 Link to comment Share on other sites More sharing options...
SamC Posted November 9, 2017 Share Posted November 9, 2017 1 hour ago, DaveP said: It is actually simpler than it looks, you just have to be brave! And use a disposable local install of PW, just in case you blow it to smithereens. I got a local one set up right now. I've got no problem with blowing it up either, mistakes are vital. Well, learning from them rather than repeating them... Incidentally, I see @bernhard has just posted a large guide on process modules. Perfect timing 2 Link to comment Share on other sites More sharing options...
bernhard Posted November 9, 2017 Author Share Posted November 9, 2017 yeah, i was just starting to write a reply here, then dave was first and then i decided to start a new topic, because we got offtopic here and i'm sure it's valuable information for others as well. here is the tutorial: 2 Link to comment Share on other sites More sharing options...
pwFoo Posted December 9, 2017 Share Posted December 9, 2017 Awesome! Looks like a great tool (features, UI) to work with. 1 Link to comment Share on other sites More sharing options...
dragan Posted July 1, 2018 Share Posted July 1, 2018 re: https://processwire.com/talk/topic/17207-custom-office-management-crmcontrolling-software/?do=findComment&comment=151471 @bernhard Thanks for sharing the code examples. I have tried to set up something similar, also with repeaters, but somehow it just won't work. I get fatal PW errors of various kinds... I placed the PHP snippet inside templates/ready.php and the hook is certainly triggered, but I think I'm missing something to make it work as it should. What does this line actually do? Does it do more than simply inject the JS? $this->wire->modules->get('RockTools')->loadAsset('ckesnippets.js', 'HrDiamonds'); I have used this instead: $js = wire('config')->urls->templates . 'scripts/ckesnippets.js'; $event->return = str_replace("</head>", "\n<script type='text/javascript' src='{$js}'></script>\n</head>", $event->return); Thanks in advance for some tips or pointers. 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