# |
Feb 14th 2020, 09:20 |
revillosakristianpaol |
tested using 40, 45 columns table no response |
# |
Feb 14th 2020, 09:18 |
revillosakristianpaol |
i think yes, i also tested it t o other tables with such column size. but when using fewer, it works |
# |
Feb 14th 2020, 08:59 |
christianjohn.gss |
table contains 40 or more columns? :O |
# |
Feb 14th 2020, 08:55 |
dereuromark |
are you sure its about size and not about the content? some invalid char or alike? |
# |
Feb 14th 2020, 08:52 |
revillosakristianpaol |
hi im facing errors regarding serializing entities; when my table contains 40 or more columns, serialize returns nothing (json_encode also returns nothing) i hope someone can enlighten me |
# |
Feb 14th 2020, 08:42 |
christianjohn.gss |
morning |
# |
Feb 14th 2020, 08:07 |
damiano |
morning friends |
# |
Feb 14th 2020, 07:55 |
javier.villanueva |
morning all |
# |
Feb 14th 2020, 07:20 |
dereuromark |
@lpj145 Why didnt u contribute to the existing plugin? Whats the main difference of yours? |
# |
Feb 14th 2020, 06:35 |
alexdd55976 |
morning |
# |
Feb 14th 2020, 04:05 |
admad |
Make a PR and you will get feedback |
# |
Feb 14th 2020, 03:27 |
lpj145 |
please, tell me if Readme are wrong, i try to be clear and objective as possible. |
# |
Feb 14th 2020, 03:26 |
lpj145 |
@admad is possible add to awesome plugins ? |
# |
Feb 14th 2020, 03:25 |
lpj145 |
i tested with a new project 4.x its works very well with php 7.4. |
# |
Feb 14th 2020, 03:25 |
lpj145 |
@ndm maked for cakephp > 3.2 |
# |
Feb 14th 2020, 03:24 |
lpj145 |
https://github.com/lpj145/express-request |
# |
Feb 13th 2020, 22:13 |
sebastian.krzewinski. |
i solve it |
# |
Feb 13th 2020, 22:13 |
sebastian.krzewinski. |
nevermind |
# |
Feb 13th 2020, 22:13 |
sebastian.krzewinski. |
4 |
# |
Feb 13th 2020, 21:47 |
ricksaccous |
you are using cakephp3 right? |
# |
Feb 13th 2020, 21:46 |
ricksaccous |
it only takes 2 parameters |
# |
Feb 13th 2020, 21:46 |
ricksaccous |
@sebastian.krzewinski. https://book.cakephp.org/3/en/views/helpers/form.html#creating-form-controls |
# |
Feb 13th 2020, 21:44 |
sebastian.krzewinski. |
ok its working when i do form->input not control |
# |
Feb 13th 2020, 21:36 |
sebastian.krzewinski. |
but not in form |
# |
Feb 13th 2020, 21:36 |
sebastian.krzewinski. |
then how should be looks like? in other place its working |
# |
Feb 13th 2020, 21:29 |
ricksaccous |
you have placeholder in a separate array as the third parameter |
# |
Feb 13th 2020, 21:29 |
ricksaccous |
array of options is one parameter |
# |
Feb 13th 2020, 21:28 |
sebastian.krzewinski. |
<?= $this->Form->control('email', ['required' => true],['placeholder' => 'test']) ?> anyone know why this placeholder is not working? |
# |
Feb 13th 2020, 21:27 |
sebastian.krzewinski. |
i have maybe stupid Question again :) |
# |
Feb 13th 2020, 20:55 |
sebastian.krzewinski. |
its wokrking <3 |
# |
Feb 13th 2020, 20:54 |
sebastian.krzewinski. |
ok i will try it |
# |
Feb 13th 2020, 20:41 |
ndm |
That's untested, but generally that's how you could do it |
# |
Feb 13th 2020, 20:40 |
ndm |
```$passed = $this->request->getParam('pass'); $allowed = ['home', 'foo', 'bar', 'baz']; if(isset($passed[0]) andand in_array($passed[0], $allowed)) { $this->Authentication->addUnauthenticatedActions(['display']); }``` |
# |
Feb 13th 2020, 20:37 |
ndm |
There are no `index` and `view` actions in your `PagesController`, there's only a single action named `display` which handles access to all pages by evaluating the passed page name. You'd have to check the current name, and allow access to the `display` action instead. Something like |
# |
Feb 13th 2020, 20:34 |
sebastian.krzewinski. |
https://i.imgur.com/onvqt44.gifv |
# |
Feb 13th 2020, 20:31 |
ndm |
What do these two things even have to do with each other? It's hard to follow without additional explanation of what's actually happening |
# |
Feb 13th 2020, 20:30 |
sebastian.krzewinski. |
idk.. |
# |
Feb 13th 2020, 20:30 |
sebastian.krzewinski. |
its seems to be not working: $this->Authentication->addUnauthenticatedActions(['index', 'view']); in pages |
# |
Feb 13th 2020, 20:28 |
sebastian.krzewinski. |
but now i cant join to homepage |
# |
Feb 13th 2020, 20:27 |
sebastian.krzewinski. |
i used this method for new login page: $this->viewBuilder()->setLayout('login'); |
# |
Feb 13th 2020, 20:18 |
sebastian.krzewinski. |
coool |