# |
Apr 26th 2017, 16:19 |
slackebot1 |
Action: bravo-kernel respecting the ops wishes |
# |
Apr 26th 2017, 16:18 |
doug__ |
not cool |
# |
Apr 26th 2017, 16:18 |
doug__ |
but glad to see you are jumping to accusing me of being on drugs |
# |
Apr 26th 2017, 16:18 |
slackebot1 |
Action: bravo-kernel respecting the ops wishes |
# |
Apr 26th 2017, 16:17 |
doug__ |
I asked where I could find docs on the options for ->paginator. You could not do so, and are getting frustrated that I did not find logic in your answer. |
# |
Apr 26th 2017, 16:16 |
bravo-kernel |
but please return the favor and ignore me as well ;) |
# |
Apr 26th 2017, 16:16 |
bravo-kernel |
are you on something my friend? just pointing you to the same source of truth I have been pointed to myself it many times |
# |
Apr 26th 2017, 16:13 |
doug__ |
it was not a pointer, it was a 'message' that I should 'rtfm', but thanks anyways, you are intent on wasting both of our time! |
# |
Apr 26th 2017, 16:12 |
bravo-kernel |
ok, will do, nvm the pointer |
# |
Apr 26th 2017, 16:12 |
doug__ |
ignore me please |
# |
Apr 26th 2017, 16:12 |
doug__ |
but expected, now that I recall previous posts from you ;) |
# |
Apr 26th 2017, 16:12 |
doug__ |
that is not logical |
# |
Apr 26th 2017, 16:11 |
bravo-kernel |
correct |
# |
Apr 26th 2017, 16:10 |
doug__ |
@bravo-kernel, that is a link to the main api page |
# |
Apr 26th 2017, 16:08 |
bravo-kernel |
@doug) https://api.cakephp.org/ |
# |
Apr 26th 2017, 16:07 |
doug__ |
Anyone know where I get docs on the options for ->paginator ? |
# |
Apr 26th 2017, 15:52 |
doug__ |
the pagination->numbers() return URLs like ../articles/index/en-us instead of ../en-us/articles |
# |
Apr 26th 2017, 15:51 |
doug__ |
I get "array_merge(): Argument #2 is not an arra" error |
# |
Apr 26th 2017, 15:50 |
doug__ |
I'm trying "$this->Paginator->options(['url'=>Router::url([],true)]);" with no luck |
# |
Apr 26th 2017, 15:49 |
doug__ |
not sure what I would need to set pagination options to... |
# |
Apr 26th 2017, 15:49 |
doug__ |
URLs |
# |
Apr 26th 2017, 15:49 |
doug__ |
even if it's not json format, it's ok, I just need valid iURLs, |
# |
Apr 26th 2017, 15:49 |
doug__ |
in json format? |
# |
Apr 26th 2017, 15:49 |
doug__ |
I'm just trying to add numbered pagination links as json using paginator->numbered(), and I'm not having any luck, the URLs produced are muddled. What is the easiest way to get page number links like google search result? |
# |
Apr 26th 2017, 15:43 |
sdevore |
In CakePHP 3.x I have been using this advice https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#customize-key-value-output |
# |
Apr 26th 2017, 15:39 |
cpierce |
what is the best way to get a virutal property in a list? |
# |
Apr 26th 2017, 15:36 |
julez |
with the same uploaded file |
# |
Apr 26th 2017, 15:36 |
julez |
i another part of this cake2.x application the same rule works |
# |
Apr 26th 2017, 15:35 |
julez |
the validation rule is: 'mimeType', ['application/pdf', 'application/octet-stream', 'application/x-unknown'] |
# |
Apr 26th 2017, 15:35 |
julez |
Anybody has a idea why i got this when validating a fileupload? Can not determine the mimetype. |
# |
Apr 26th 2017, 15:22 |
pedroseco |
thanks |
# |
Apr 26th 2017, 15:22 |
slackebot1 |
controllers, what could I do? |
# |
Apr 26th 2017, 15:22 |
pedroseco |
Hi guys! I’m having a couple of difficulties implementing a logic here in Cake and would like a opinion. I created a “shortcode” solution for my backoffice content on which I would replace it for a block of code that represented for instance, a Google Maps. I can do this on /view by using elements or view cells. But I would prefer to do it in the controller and return the $table->body with the completed html. Since I can’t use elem |
# |
Apr 26th 2017, 15:16 |
chris-andre |
I need to utf8_decode($value) before it is output to CSV utf-8 export. |
# |
Apr 26th 2017, 15:13 |
chris-andre |
Is it some way I can utf8_decode() some columns/properties in a resultset? |
# |
Apr 26th 2017, 15:04 |
dereuromark |
inside the url asset generation of the helper |
# |
Apr 26th 2017, 15:03 |
dereuromark |
Instead try to overwrite the scheme/protocol |
# |
Apr 26th 2017, 15:03 |
dereuromark |
I think you are using it wrong, no slash should be added if it is relative to img dir |
# |
Apr 26th 2017, 14:59 |
Martin` |
I use the double slash so browser decides if it loads over https or http |
# |
Apr 26th 2017, 14:58 |
Martin` |
html helper adds img/ at the begin of a url when it starts with a double slash |
# |
Apr 26th 2017, 14:58 |
Neon1024 |
Hard to copy and paste an invisible character |