Log message #4221788

# At Username Text
# Jan 9th 2020, 00:05 damiano is that possibile without the html helper?
# Jan 9th 2020, 00:05 damiano @dereuromark yeah but i am asking how can i get the absolute path of a file inside the webroot of the plugin
# Jan 9th 2020, 00:04 dereuromark Usually just `/plugin/img/` for img/ etc
# Jan 9th 2020, 00:02 damiano i cannot use Html helper
# Jan 9th 2020, 00:02 damiano @dereuromark i am inside a controller not inside a view
# Jan 8th 2020, 23:58 dereuromark its documented in book, given you have the AssetMiddleware in place etc
# Jan 8th 2020, 23:58 damiano is there a method ?
# Jan 8th 2020, 23:57 damiano guys how can i get the path to the webroot folder inside a plugin ?
# Jan 8th 2020, 22:58 luizcmarin so I would like to understand correctly the use of this feature. In my country, Brazil, the date is dd / mm / yyyy. But the mysql database keeps its default aaaa-mm-dd. I imagine that: Configuring on bootstrap, my system will read the table and convert forever to display in my format, but at the time of writing it writes to mysql default. Right?
# Jan 8th 2020, 22:54 luizcmarin I understand that I can change the date and time settings in bootstrap.php by following this information. But I get error as a result
# Jan 8th 2020, 22:52 luizcmarin can someone give me a little help with https://book.cakephp.org/4/en/core-libraries/internationalization-and-localization.html#parsing-localized-datetime-data
# Jan 8th 2020, 21:39 ricksaccous doesn't it get added as a hidden field?
# Jan 8th 2020, 21:39 ricksaccous so I don't see why you ahve to have the csrf on the submit button
# Jan 8th 2020, 21:38 ricksaccous so when you submit the form just knows
# Jan 8th 2020, 21:38 ricksaccous shouldn't it
# Jan 8th 2020, 21:38 ricksaccous csrf should be added to the form already
# Jan 8th 2020, 21:38 ricksaccous also
# Jan 8th 2020, 21:38 ricksaccous out of curiosity why not just use postlink
# Jan 8th 2020, 21:22 slackebot <jotpe>
# Jan 8th 2020, 21:21 jotpe postLink() generates some markup like this with the csrf token in the onClick
# Jan 8th 2020, 21:17 ricksaccous it just shows a pop up before you submit
# Jan 8th 2020, 21:17 ricksaccous confirm doesn't have anything to do with CSRF
# Jan 8th 2020, 21:16 ricksaccous i don't know what you're trying to do anymore
# Jan 8th 2020, 21:16 jotpe Is the Normal Paginator Helper able to handle variables in the url? BootstrapUIs doesn't seem to work with it.
# Jan 8th 2020, 21:10 jotpe There's no explicit option, but when I just add it with the code from the postlink it seems to lack the csrf stuff. Is there a way I can get the token?
# Jan 8th 2020, 19:53 ricksaccous the option i mean
# Jan 8th 2020, 19:53 ricksaccous @jotpe have you just tried using confirm on a normal submit button?
# Jan 8th 2020, 18:02 jotpe Is there something like the `'confirm'` option (`postLink()`) for normal submits/buttons?
# Jan 8th 2020, 17:35 jotpe Ah gosh, forgot the 'url' as FormHelpers create option.
# Jan 8th 2020, 17:32 slackebot <jotpe>
# Jan 8th 2020, 17:31 jotpe Anyone has a clue, why a complete exact route is not found when creating a FormHelper::create() but is working with a PostLink?
# Jan 8th 2020, 17:30 wizardfix Think I found the solution @ckjksl - My system was using the system-wide PHP install at `/usr/bin/php`. Once I added `/opt/lampp/bin` to my `PATH`, the errors doisap
# Jan 8th 2020, 16:41 ckjksl Sorry I don't have any exact solutions for you. I think if it's working through your webserver and not in your command line, it probably has to do with your command line environment, and i don't know enough about that to offer assistance.
# Jan 8th 2020, 16:37 wizardfix I will read that config section too, thanks for your help @ckjksl, I will investigate further and see if I can solve it. :)
# Jan 8th 2020, 16:34 wizardfix Maybe I'll try a fresh install...
# Jan 8th 2020, 16:33 slackebot Installing phpunit/php-timer (1.0.9): Downloading (100%) - Installing phpunit/php-file-iterator (1.4.5): Downloading (100%) - Installing theseer/tokenizer (1.1.3): Downloading (100%) - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%) - Installing phpunit/php-token-stream (2.0.2): Downloading (100%) - Installing phpunit/php-code-coverage (5.3.2): Downloading (100%)
# Jan 8th 2020, 16:33 slackebot Installing sebastian/environment (3.1.0): Downloading (100%) - Installing sebastian/diff (2.0.1): Downloading (100%) - Installing sebastian/comparator (2.1.3): Downloading (100%) - Installing doctrine/instantiator (1.3.0): Downloading (100%) - Installing phpunit/php-text-template (1.2.1): Downloading (100%) - Installing phpunit/phpunit-mock-objects (5.0.10): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot sebastian/resource-operations (1.0.0): Downloading (100%) - Installing sebastian/recursion-context (3.0.0): Downloading (100%) - Installing sebastian/object-reflector (1.1.1): Downloading (100%) - Installing sebastian/object-enumerator (3.0.3): Downloading (100%) - Installing sebastian/global-state (2.0.0): Downloading (100%) - Installing sebastian/exporter (3.1.2): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot Downloading (100%) - Installing composer/ca-bundle (1.2.5): Downloading (100%) - Installing composer/composer (1.9.1): Downloading (100%) - Installing cakephp/debug_kit (3.21.0): Downloading (100%) - Installing m1/env (2.1.2): Downloading (100%) - Installing josegonzalez/dotenv (3.2.0): Downloading (100%) - Installing sebastian/version (2.0.1): Downloading (100%) - Installing
# Jan 8th 2020, 16:33 slackebot symfony/finder (v4.4.2): Downloading (100%) - Installing seld/phar-utils (1.0.1): Downloading (100%) - Installing seld/jsonlint (1.7.2): Downloading (100%) - Installing justinrainbow/json-schema (5.2.9): Downloading (100%) - Installing composer/xdebug-handler (1.4.0): Downloading (100%) - Installing composer/spdx-licenses (1.5.2): Downloading (100%) - Installing composer/semver (1.5.0):
# Jan 8th 2020, 16:33 slackebot Installing twig/twig (v1.42.4): Downloading (100%) - Installing umpirsky/twig-php-function (v0.1): Downloading (100%) - Installing jasny/twig-extensions (v1.2.0): Downloading (100%) - Installing asm89/twig-cache-extension (1.4.0): Downloading (100%) - Installing aptoma/twig-markdown (2.0.0): Downloading (100%) - Installing ajgl/breakpoint-twig-extension (0.3.4): Downloading (100%) -