# |
Jun 25th 2018, 09:03 |
josbeir |
since 3.6.6 there is backwards compatibility |
# |
Jun 25th 2018, 09:02 |
birdy247 |
To load a plugin using the "new style", does that plugin have to have a Plugin.php file? |
# |
Jun 25th 2018, 09:00 |
birdy247 |
Is this essentially a bit like the Application.php |
# |
Jun 25th 2018, 09:00 |
birdy247 |
I notice there is a new Plugin.php file when I bake plugins now |
# |
Jun 25th 2018, 08:57 |
birdy247 |
@bogdan I can recomended the duplicate bhaviour |
# |
Jun 25th 2018, 08:56 |
birdy247 |
mormomg |
# |
Jun 25th 2018, 08:46 |
josbeir |
its because of the dynamic plugin loading stuff |
# |
Jun 25th 2018, 08:43 |
josbeir |
throwing a bunch of Cake\Core\Exception\MissingPluginException: |
# |
Jun 25th 2018, 08:42 |
josbeir |
in ConsoleIntegrationTestCase |
# |
Jun 25th 2018, 08:42 |
josbeir |
anyone having issues with 3.6.6 and Command tests that fail because of the new plugin loading fixes? |
# |
Jun 25th 2018, 08:27 |
tim |
`$newOrder` being an entity in this case |
# |
Jun 25th 2018, 08:27 |
tim |
@bogdan |
# |
Jun 25th 2018, 08:27 |
tim |
```$newOrder->isNew(true); $newOrder->unsetProperty('id');``` I think that's a way to do it with clone |
# |
Jun 25th 2018, 08:26 |
LubosR |
Tried to amend templates, but no luck so far |
# |
Jun 25th 2018, 08:26 |
LubosR |
Is there any way how to disable generated col-md-6 divs on the fly when align horizontal is set at friendsofcake/BootstrapUi form helper? |
# |
Jun 25th 2018, 08:20 |
chrisshick |
Due to my lack of sleep and because of my lack of sleep, I have answered my own question XD |
# |
Jun 25th 2018, 08:18 |
madbbb |
thank you @neon1024 |
# |
Jun 25th 2018, 08:17 |
neon1024 |
If you need associations as well |
# |
Jun 25th 2018, 08:17 |
neon1024 |
Or you could use the Duplicatable behaviour, https://github.com/riesenia/cakephp-duplicatable |
# |
Jun 25th 2018, 08:16 |
neon1024 |
Would be the other way I guess |
# |
Jun 25th 2018, 08:16 |
neon1024 |
`$entityArray = $entity->toArray(); unset($entityArray['id']); $newEntity = $this->Examples->newEntity($entityData);` |
# |
Jun 25th 2018, 08:15 |
neon1024 |
Yes |
# |
Jun 25th 2018, 08:15 |
madbbb |
but it will clone id field? |
# |
Jun 25th 2018, 08:15 |
chrisshick |
@bogdan |
# |
Jun 25th 2018, 08:15 |
chrisshick |
:point_up: |
# |
Jun 25th 2018, 08:14 |
neon1024 |
Use `clone` |
# |
Jun 25th 2018, 08:14 |
madbbb |
what is the simplest way to clone entity? |
# |
Jun 25th 2018, 08:14 |
chrisshick |
Any familiar with using multiple different buildRules for a given situation? |
# |
Jun 25th 2018, 08:14 |
madbbb |
Morning |
# |
Jun 25th 2018, 08:13 |
chrisshick |
Good morning @neon1024 |
# |
Jun 25th 2018, 07:32 |
neon1024 |
Morning everyone |
# |
Jun 25th 2018, 07:15 |
mohitprakashsharma555 |
Okay @narendravaghela @bravo-kernel Thanks For your response |
# |
Jun 25th 2018, 07:12 |
narendravaghela |
- You need to register a service worker for your web application using JavaScript - Configure your service worker to handle the requests and cache the necessary files/assets locally - Read the docs for specific requirement and what Service Worker offers - https://developers.google.com/web/fundamentals/primers/service-workers/ |
# |
Jun 25th 2018, 07:10 |
mohitprakashsharma555 |
@narendravaghela If you have some idea please let me know. little bit |
# |
Jun 25th 2018, 07:06 |
mohitprakashsharma555 |
can u please some idea how ? Please |
# |
Jun 25th 2018, 07:05 |
narendravaghela |
yes, you can do that. |
# |
Jun 25th 2018, 07:03 |
mohitprakashsharma555 |
i just want to do if user data is on that will use live site if they did't have connection it will use automatic downloaded html |
# |
Jun 25th 2018, 07:03 |
narendravaghela |
Here, the Service Workers come in picture, you can cache stuff on user's machine using them and serve it locally |
# |
Jun 25th 2018, 07:02 |
mohitprakashsharma555 |
yes @narendravaghela i just want to know can we do this type of functionality using cake With the help of cache or session. or download html |
# |
Jun 25th 2018, 06:59 |
narendravaghela |
YouTube offline video feature is available on mobile app only I think, there is nothing like that on web app. |
# |
Jun 25th 2018, 06:53 |
mohitprakashsharma555 |
oh in youtube there have a video offline feature you can use just download and see the video ofline |