# |
Jul 10th 2018, 08:53 |
josbeir |
my brain can't grasp your issue |
# |
Jul 10th 2018, 08:51 |
neon1024 |
Why is it that if I define conditions in my UserPermissions table, when my code queries for the association, which is Companies. It will use that condition in the Companies query and then fail because the UserPermissions table isn’t joined? |
# |
Jul 10th 2018, 08:34 |
james.phillips |
@bravo-kernel Will look at the envolpe stuff next time im looking at swagger thanks. Looking into elastic search now... getting a plan together |
# |
Jul 10th 2018, 07:44 |
neon1024 |
Your actual error, is just a missing class. Usually caused by a typo, missing autoload in composer, or similar |
# |
Jul 10th 2018, 07:44 |
neon1024 |
If it’s a separate application, perhaps you could write directly to it’s database |
# |
Jul 10th 2018, 07:44 |
neon1024 |
If you have the source code, just integrate that into your project |
# |
Jul 10th 2018, 07:43 |
neon1024 |
If it exposes it’s api using a web service, just integrate with that |
# |
Jul 10th 2018, 07:43 |
neon1024 |
Depends how the CRM software exposes it’s api |
# |
Jul 10th 2018, 07:40 |
sheraliqureshi.mhtech |
how to integrate 3rd party (like any crm service ) in cake php? Error: Class 'Sugar\sugarRestClient' not found File E:\xampp\htdocs\corbanone-corbanportal-6c1576bf1fdb\src\Controller\AppController.php Line: 149 i am facing this error for yesterday |
# |
Jul 10th 2018, 07:40 |
sheraliqureshi.mhtech |
@neon1024 |
# |
Jul 10th 2018, 07:34 |
neon1024 |
Morning all |
# |
Jul 10th 2018, 06:53 |
steinkel |
in a controller, you can use https://github.com/CakeDC/users/blob/master/src/Controller/Component/UsersAuthComponent.php#L152 passing the url in the event |
# |
Jul 10th 2018, 06:36 |
sheraliqureshi.mhtech |
i am facing this error for yesterday |
# |
Jul 10th 2018, 06:35 |
sheraliqureshi.mhtech |
Error: Class 'Sugar\sugarRestClient' not found File E:\xampp\htdocs\corbanone-corbanportal-6c1576bf1fdb\src\Controller\AppController.php Line: 149 |
# |
Jul 10th 2018, 06:35 |
sheraliqureshi.mhtech |
how to integrate 3rd party (like any crm service ) in cake php? |
# |
Jul 10th 2018, 05:08 |
Mutter |
Good morning |
# |
Jul 10th 2018, 01:03 |
graziel |
@waspinator https://book.cakephp.org/3.0/en/core-libraries/time.html#Cake\I18n\Time::i18nFormat |
# |
Jul 10th 2018, 00:30 |
waspinator |
for whatever reason they give different results. `Y` is a year behind |
# |
Jul 10th 2018, 00:29 |
waspinator |
what's the difference between `Y` and `yyyy` when it comes to chronos? |
# |
Jul 9th 2018, 21:23 |
jhob |
resolved that issue now btw, turns out upgrading breaks lots of things! |
# |
Jul 9th 2018, 19:45 |
joopm |
and make a difference with my own source code and the framework codes |
# |
Jul 9th 2018, 19:45 |
mikesmoniker |
And maybe leave Git out of it for now. That might be adding an unnecessary layer of confusion. But when you do incorporate Git, consider either using the `composer create-project` command to set up a proper project structure or grabbing the .gitignore file from the cakephp/app project. |
# |
Jul 9th 2018, 19:45 |
joopm |
just to publist to github |
# |
Jul 9th 2018, 19:44 |
joopm |
i used to develop application in localhost,so the issue is not by developing cakephp applications |
# |
Jul 9th 2018, 19:43 |
mikesmoniker |
joopm, You don’t edit the CakePHP source code. You use the framework to build your app, utilizing it’s various extension points and configuration to change default behavior if you need. It might be most easily understood by _doing_, though. If you have time, consider setting aside whatever you’re working on and doing the tutorial from the Cake docs start-to-finish to get a better idea of the workflow. |
# |
Jul 9th 2018, 19:39 |
joopm |
at github |
# |
Jul 9th 2018, 19:39 |
joopm |
so how is possible to make a difference between framework sourcecode and your own source code? |
# |
Jul 9th 2018, 19:02 |
jhob |
I had seen that but helpers can only be called from views and this in the controller, or am I missing something? |
# |
Jul 9th 2018, 18:50 |
slackebot4 |
that you don't push cakephp-files or other vendor code to your repository. While you finnish your work, you make commits which are pushed to master (or any branch). There your code is, powered by cakephp and other vendor codes. |
# |
Jul 9th 2018, 18:50 |
chris-andre |
Have you worked with cakephp before? And I also think it is quite common; cakephp and other thirdparty code exists in the vendor folder. Your own code will be in src/ folder. When installing cakephp, you will have a composer.json file and a .gitignore file which tells composer what plugins/codes that is require to run your app. Cakephp will be one of them. Because of .gitignore, you will not even push vendor-folder to you repo, meaning |
# |
Jul 9th 2018, 18:35 |
joopm |
but if i've just visit branch master page there is no difference than original and my own codes |
# |
Jul 9th 2018, 18:33 |
joopm |
i know that there are commits |
# |
Jul 9th 2018, 18:33 |
joopm |
and how do you arrenge that your own code will distingue than original cakephp soure codes? |
# |
Jul 9th 2018, 18:32 |
joopm |
thank you for your answer |
# |
Jul 9th 2018, 18:32 |
joopm |
hello chris-andre |
# |
Jul 9th 2018, 18:32 |
chris-andre |
@joopm I create a new cakephp project with composer, then I initialize git, creates a new empty repo (without readme.md aswell) on github and pushes the new project to the new github repo. |
# |
Jul 9th 2018, 18:26 |
joopm |
or first make a repository on github? |
# |
Jul 9th 2018, 18:25 |
joopm |
do you make first the cakephp project with composer and than import it to the github? |
# |
Jul 9th 2018, 18:25 |
joopm |
may i ask you how do you use cakephp with github? |
# |
Jul 9th 2018, 18:25 |
joopm |
hello all |
# |
Jul 9th 2018, 16:39 |
steinkel |
https://github.com/CakeDC/users/blob/master/src/View/Helper/AuthLinkHelper.php#L61 |