Log message #4113973

# At Username Text
# Feb 3rd 2018, 16:20 hmic but i can add that to be pulled out of my provided config easily myself
# Feb 3rd 2018, 16:19 hmic :-)
# Feb 3rd 2018, 16:19 hmic as i try to just throw it in the mix, without writing *any* code for it to work as a backend
# Feb 3rd 2018, 16:19 hmic i actually think thats a good feature, especially for crudview
# Feb 3rd 2018, 16:03 admad thought about it but don't want to go about stuffing too much in global config
# Feb 3rd 2018, 16:02 hmic can't specify it in the crud.php config even? :D
# Feb 3rd 2018, 16:02 hmic sounds reasonable ;-)
# Feb 3rd 2018, 15:59 admad all you should need is: $this->viewBuilder->setHelpers([ 'CrudView' => [ 'className' => 'CrudView.CrudView', 'fieldFormatters' => [ 'datetime' => function () {..} ] ] ]);
# Feb 3rd 2018, 15:58 admad just extra safety to ensure the view's beforeLayout to run before any helper's beforeLayout
# Feb 3rd 2018, 15:57 hmic i see you did set a priority on the event - probably for (that?) reason
# Feb 3rd 2018, 15:57 hmic the htmlhelper got loaded differently though, i think the prg component injected it in an event that screwed things up badly
# Feb 3rd 2018, 15:56 hmic that was the idea, yeah
# Feb 3rd 2018, 15:55 admad i have taken care of that :slightly_smiling_face: For the use case you explained earlier you just need to configure the helper through view builder in controller, don't need to extend everything
# Feb 3rd 2018, 15:54 hmic which resulted in a fatal error in the helperregistry checkduplicate method
# Feb 3rd 2018, 15:54 hmic so that the array_merge would have an array like: [0 => 'Html', 'Html' => ['className'] ...]]
# Feb 3rd 2018, 15:53 hmic at least i run into a problem where the htmlhelper got loaded before here: https://github.com/FriendsOfCake/crud-view/pull/231/files#diff-117e49cbe8d9eb7722b105868b236b4eR133
# Feb 3rd 2018, 15:53 hmic but i'm not quite certain if it will work in all the wired circumstances i tried to extend the helper and view...
# Feb 3rd 2018, 15:52 hmic it will certainly fix my problem
# Feb 3rd 2018, 15:52 hmic looks good at first sight
# Feb 3rd 2018, 15:39 admad hmic: https://github.com/FriendsOfCake/crud-view/pull/231
# Feb 3rd 2018, 04:14 savant sab: should be $this->loadHelper(‘Froala.Froala’);
# Feb 3rd 2018, 04:14 savant @cpierce one interesting thing there is the forward-slash followed by a back-slash
# Feb 3rd 2018, 04:13 savant hi bakers!
# Feb 3rd 2018, 02:43 sab route was correct, instead of public $helpers = array('Froala.Froala'); it was $this->helpers = array('Froala.Froala');
# Feb 3rd 2018, 01:34 sab the plugin route is not workig correctly
# Feb 3rd 2018, 01:34 sab aw..
# Feb 3rd 2018, 01:28 sab I want to use the froala plugin, once activated, it says FroalaHelper not found. The plugin route works at least for css and js includes. Any Ideas what do look up next?
# Feb 3rd 2018, 01:24 meder n/m, this is expected.
# Feb 3rd 2018, 01:24 sab Does someone know the froala plugin?
# Feb 3rd 2018, 01:24 meder wait. it didn't save - it kept the id it autoincremented briefly before the save failed.
# Feb 3rd 2018, 01:22 meder how come my transactional which has a ->save() and returns false from the function ( to imply a rollback ) keeps that saved record?
# Feb 2nd 2018, 23:48 cpierce i make it myself but it won't write to it
# Feb 2nd 2018, 23:48 cpierce i've given the permission of portal\tmp to everyone and it will not create the cache\persistent folder
# Feb 2nd 2018, 23:47 cpierce any help on this would be great
# Feb 2nd 2018, 23:47 cpierce `Warning (512): C:\inetpub\portal\tmp\cache\persistent/\ is not writable [CORE\src\Cache\Engine\FileEngine.php, line 437]`
# Feb 2nd 2018, 21:35 cpierce :slightly_smiling_face:
# Feb 2nd 2018, 21:35 cpierce ->select()
# Feb 2nd 2018, 20:47 madrid9989 just to add 1 extra 'virtual' field to the end
# Feb 2nd 2018, 20:47 madrid9989 I rather not have to include all fields
# Feb 2nd 2018, 20:47 madrid9989 like Articles.*
# Feb 2nd 2018, 20:46 madrid9989 Is it possible to use a wildcard with ->select() ?