Log message #4156319

# At Username Text
# Jul 5th 2018, 20:04 saeideng see ^^
# Jul 5th 2018, 20:04 saeideng https://book.cakephp.org/3.0/en/views/helpers/form.html#customizing-the-templates-formhelper-uses
# Jul 5th 2018, 20:01 saeideng see core , probably you able to find your answer
# Jul 5th 2018, 20:00 rrd564 I almost get what I want with this
# Jul 5th 2018, 20:00 saeideng i did not test :(
# Jul 5th 2018, 20:00 saeideng aha
# Jul 5th 2018, 20:00 rrd564 But I added a template by a plugin
# Jul 5th 2018, 20:00 rrd564 The form helper is the cake core FormHelper
# Jul 5th 2018, 20:00 saeideng what you mean of templates?
# Jul 5th 2018, 19:59 saeideng `loadHelper('pluginName.Form')`
# Jul 5th 2018, 19:59 rrd564 should I use the dot notaton for the templates like here?
# Jul 5th 2018, 19:58 rrd564 @saeideng `$this->loadHelper('Form', [ 'templates' => 'Datalist.form-templates', 'widgets' => [ 'datalist' => ['Datalist'] ] ]);`
# Jul 5th 2018, 19:57 itmpls the read is in plugin/Sites/src/Model/Table/SitesTable.php*
# Jul 5th 2018, 19:57 itmpls how come Configure::read('Sites.config'); doesnt read what I put in my plugins/Sites/config/bootstrap.php, Configure::write('Sites.config'); ?
# Jul 5th 2018, 19:57 saeideng loadHelper('plugin.helper')`
# Jul 5th 2018, 19:56 saeideng `plugin.helper`
# Jul 5th 2018, 19:56 rrd564 How can I load form helper with a template coming from a plugin?
# Jul 5th 2018, 19:52 bravo-kernel :face_palm:
# Jul 5th 2018, 19:52 bravo-kernel (now)
# Jul 5th 2018, 19:52 bravo-kernel and makes perfect sense too
# Jul 5th 2018, 19:52 bravo-kernel over and over again, all 200s now
# Jul 5th 2018, 19:52 bravo-kernel mr. @admad you are truly my virtual savior
# Jul 5th 2018, 19:52 admad then your error is expected :slightly_smiling_face:
# Jul 5th 2018, 19:51 bravo-kernel no AssetMiddleware in my `Application.php` yet if that is what you mean
# Jul 5th 2018, 19:50 bravo-kernel the page at `http://my.api/alt3/swagger/` loads
# Jul 5th 2018, 19:50 bravo-kernel the asset url is at least what I expect.. `http://my.api/alt3/swagger/css/screen.css`
# Jul 5th 2018, 19:49 admad to debug first symlink/copy then under webroot using `cake plugin symlink`
# Jul 5th 2018, 19:48 admad plugin asset urls are handled by AssetMiddleware
# Jul 5th 2018, 19:48 admad Are you sure you plugin asset url is correct and the asset exists in plugin?
# Jul 5th 2018, 19:42 bravo-kernel f**, hitting those 404s again :exploding_head:
# Jul 5th 2018, 19:21 rightscoreanalysis how can i set the calculated on an object and return to the view
# Jul 5th 2018, 19:21 rightscoreanalysis File uploaded https://cakesf.slack.com/files/U8TPM938F/FBK4CT0JV/-.php / https://slack-files.com/T053DPNCM-FBK4CT0JV-fb73046121
# Jul 5th 2018, 19:21 rightscoreanalysis in my get method I query my model and then callculate the sum and average of a column as follows:
# Jul 5th 2018, 18:48 bravo-kernel deleted the release as well so all looks good again now
# Jul 5th 2018, 18:48 bravo-kernel thanks a lot man, this was silly
# Jul 5th 2018, 18:46 saeideng :+1:
# Jul 5th 2018, 18:46 bravo-kernel I saw that too but I prefer the namespace
# Jul 5th 2018, 18:46 saeideng or `$this->addPlugin(Swagger::class)`
# Jul 5th 2018, 18:45 bravo-kernel aha, I will change that
# Jul 5th 2018, 18:45 saeideng just `$this->addPlugin('Alt3/Swagger')` is enough
# Jul 5th 2018, 18:45 saeideng `$this->addPlugin(Swagger::class, ['routes' => true, 'bootstrap' => true]);` no