# |
Oct 9th 2016, 10:00 |
cakephp658 |
i'm trying to use Google API with Cake 2.9 |
# |
Oct 9th 2016, 08:21 |
admad |
github.com/cakephp/cakephp |
# |
Oct 9th 2016, 08:21 |
slackebot |
~tell turtle_ about issue |
# |
Oct 9th 2016, 08:21 |
slackebot |
Command sent from Slack by admad: |
# |
Oct 9th 2016, 05:59 |
justinatack |
Hi All, can someone help me with using the collections class sortBy function. I have a query that pulls a list of users but I need to sort that list of users by a deeply nested relationship. |
# |
Oct 9th 2016, 05:44 |
turtle_ |
hi, is there anywhere to log a feature request for cake? |
# |
Oct 9th 2016, 02:07 |
waspinator |
looks like someone else had this issue a couple years back, but it never got answered. I'm sure it's straightforward once you know it. https://github.com/FriendsOfCake/CakePdf/issues/63 |
# |
Oct 9th 2016, 02:06 |
waspinator |
good evening moose. |
# |
Oct 9th 2016, 02:06 |
moose517 |
evening waspinator |
# |
Oct 9th 2016, 01:56 |
waspinator |
trying to include a css link in a pdf template that's being generated by a shell, but `echo $this->Html->css('bootstrap/bootstrap', ['fullBase' => true]);` outputs null. Do I have to do something special when trying to use view helpers from a shell? |
# |
Oct 8th 2016, 23:16 |
moose517 |
more desriptive of the issue maybe? |
# |
Oct 8th 2016, 22:09 |
ksoj |
hi, i have problem with cake. Long respons by ajax, cookie regenerate = logout :-/ any help please? |
# |
Oct 8th 2016, 21:10 |
theovert |
lol working with MMM |
# |
Oct 8th 2016, 21:05 |
theovert |
but M give a digit |
# |
Oct 8th 2016, 21:05 |
theovert |
tried like i18nFormat('M dd, yyyy HH:mm',$timezone) |
# |
Oct 8th 2016, 21:05 |
theovert |
hi there, someone can advice ? trying to format like May 10, 2016 3:30 output of i18nFormat() fct |
# |
Oct 8th 2016, 20:10 |
admad |
or in layout itself before calling getCrumbs() |
# |
Oct 8th 2016, 20:10 |
admad |
in any view template or element |
# |
Oct 8th 2016, 19:48 |
samyak |
on the same ctp file? |
# |
Oct 8th 2016, 19:48 |
samyak |
Now where do I add add $this->Html->addCrumb('Users', '/users'); |
# |
Oct 8th 2016, 19:48 |
samyak |
Hi guys, I am trying to create breadcrumbs using HTML helper. I added echo $this->Html->getCrumbs(' > ', 'Home'); on my layout file. |
# |
Oct 8th 2016, 18:10 |
moose517 |
make sure there wasn't anything breaking in that |
# |
Oct 8th 2016, 18:10 |
moose517 |
did you check the upgrade guide first? |
# |
Oct 8th 2016, 16:32 |
Inocenti |
Hi guys, I just upgraded my cakephp 3.2 to cakephp 3.3 using composer. Just after the upgrade my project started to display the following error: Controller XXX not found. This occours in all pages/controllers. Has anyone a clue of what is going on? |
# |
Oct 8th 2016, 15:47 |
Boca |
@hmic thx |
# |
Oct 8th 2016, 15:44 |
hmic |
you should look at what routes it setup to understand whats going on and how you can probably get it done yourself |
# |
Oct 8th 2016, 15:44 |
hmic |
you could use rest which would make the correct decision, if its a get request (and content type fits) |
# |
Oct 8th 2016, 15:43 |
Boca |
ad not to use categories/view/10/traffic |
# |
Oct 8th 2016, 15:43 |
Boca |
public function view($id = null) |
# |
Oct 8th 2016, 15:42 |
Boca |
I have link like categories/10/traffic and how can I with this link call categories controller and view function ? |
# |
Oct 8th 2016, 15:28 |
artisanIndia |
how would I generate a controller with cakephp 3 ? |
# |
Oct 8th 2016, 15:16 |
mikatone |
ndm thank you |
# |
Oct 8th 2016, 15:12 |
mikatone |
nice |
# |
Oct 8th 2016, 15:12 |
mikatone |
ndm ok so custom rule must return something |
# |
Oct 8th 2016, 15:09 |
ndm |
Your _class method_ returns something, but your validation rule _function_ doesn't! |
# |
Oct 8th 2016, 15:07 |
mikatone |
ndm one thing is for sure, is not working! |
# |
Oct 8th 2016, 15:06 |
mikatone |
ndm I've debugged the function _isActive($value) and it is working fine, and yes the function can be passed without array, I just do not get what part is wrong because function is returning the right value according to parameter |
# |
Oct 8th 2016, 15:04 |
ndm |
also the function should most probably not be passed in an array |
# |
Oct 8th 2016, 15:02 |
ndm |
@mikatone Your rule currently "returns" null. You need to return the return value of `$this->_isActive($value)` |
# |
Oct 8th 2016, 15:02 |
mikatone |
anyone available to help? |
# |
Oct 8th 2016, 15:00 |
mikatone |
I'm having a bit of troubles with a custom validation rule not sure what is wrong here https://gist.github.com/anonymous/ae9ed90ebc18a7d6c607bb7756d7e151 |