# |
Dec 12th 2017, 10:49 |
GuillaumeP |
thanks hmic :) |
# |
Dec 12th 2017, 10:49 |
GuillaumeP |
alright will do |
# |
Dec 12th 2017, 10:48 |
hmic |
change the template you want to render to be inside the plugin |
# |
Dec 12th 2017, 10:48 |
GuillaumeP |
plugin of course |
# |
Dec 12th 2017, 10:48 |
hmic |
do you want to render the template in your plugin or main app |
# |
Dec 12th 2017, 10:48 |
GuillaumeP |
in the plugin not the main app |
# |
Dec 12th 2017, 10:48 |
hmic |
does that template exist in the plugin or main app? |
# |
Dec 12th 2017, 10:48 |
GuillaumeP |
I thought it would look for the required template in the template folder of the plugin |
# |
Dec 12th 2017, 10:47 |
GuillaumeP |
Even if the correct path is proposed by CakePHP ? |
# |
Dec 12th 2017, 10:46 |
hmic |
so you need to change the template path to your plugin path now of course |
# |
Dec 12th 2017, 10:46 |
hmic |
aha |
# |
Dec 12th 2017, 10:46 |
GuillaumeP |
it worked when my code wasn't wrapped inside a plugin |
# |
Dec 12th 2017, 10:45 |
hmic |
what did you change? |
# |
Dec 12th 2017, 10:45 |
hmic |
GuillaumeP, did it work before? |
# |
Dec 12th 2017, 10:43 |
GuillaumeP |
Hi guys. I'm getting this "Error: The template Email/html/verification.ctp was not found." Then CakePHP v3.5 suggests a few file location. But one of those suggested path exists and is readable. Has anyone a clue what's going on? |
# |
Dec 12th 2017, 10:39 |
GuillaumeP |
Hello :) |
# |
Dec 12th 2017, 09:48 |
ono-t |
Good morning! |
# |
Dec 12th 2017, 09:42 |
neon1024 |
Morning all |
# |
Dec 12th 2017, 06:56 |
digitalfotografen |
Plain cake does not require ext-soap. Must be some required lib och cake extension that uses it. Hard to tell without seeing Your composer.json. |
# |
Dec 12th 2017, 06:28 |
johan-hedin |
" |
# |
Dec 12th 2017, 06:28 |
johan-hedin |
why i am getting " requires ext-soap * -> the requested PHP extension soap is missing from your system. |
# |
Dec 12th 2017, 06:23 |
digitalfotografen |
But be aware of depricated methods, some methods have changed name between 3.0 and 3.5 |
# |
Dec 12th 2017, 06:21 |
digitalfotografen |
If You have a develoment machine you can try it there. If it works ok you can move your composer.json file to production machine and run composer install |
# |
Dec 12th 2017, 06:17 |
digitalfotografen |
composer update |
# |
Dec 12th 2017, 06:16 |
johan-hedin |
how can i do it with composer ? |
# |
Dec 12th 2017, 06:16 |
johan-hedin |
i want to update it with latest 3.5 |
# |
Dec 12th 2017, 06:15 |
johan-hedin |
I have 3.0 CakePhp installed.. |
# |
Dec 12th 2017, 02:56 |
braeden |
Does anyone here have a reasonable understanding of RabbitMQ? |
# |
Dec 12th 2017, 00:46 |
eBug69 |
since there's inheritance |
# |
Dec 12th 2017, 00:45 |
eBug69 |
so when I query Sellers, I need to pull data from Users too, like name, address and so on |
# |
Dec 12th 2017, 00:45 |
eBug69 |
whit a hasOne |
# |
Dec 12th 2017, 00:45 |
eBug69 |
SuperClass and SubClasses share the same primary key |
# |
Dec 12th 2017, 00:44 |
eBug69 |
my case is that I have a superclass 'Users' and two subclasses 'Sellers' and 'Buyers' and Users has the fields common to both subclasses like name, address, etc. |
# |
Dec 12th 2017, 00:42 |
eBug69 |
@etipaced thanks |
# |
Dec 12th 2017, 00:39 |
etipaced |
I do this for creating various name fields like “First Last” and “Last, First” off of db columns `fn` and `ln`, etc. |
# |
Dec 12th 2017, 00:39 |
etipaced |
Take a look at accessors in the docs: https://book.cakephp.org/3.0/en/orm/entities.html#accessors-mutators |
# |
Dec 12th 2017, 00:13 |
eBug69 |
like having a virtual field in a model = field from an associated table |
# |
Dec 12th 2017, 00:13 |
eBug69 |
hi, i'm switching to cakephp 3 from 2.9 and I wonder what the easy way to make virtual fields is |
# |
Dec 11th 2017, 23:53 |
dereuromark |
just watch a movie in that timer |
# |
Dec 11th 2017, 23:52 |
etipaced |
I’m still on 2017.2.4 because I’m not ready to re-index all my projects yet :slightly_smiling_face: |
# |
Dec 11th 2017, 23:45 |
dereuromark |
could also be a false positive, only latest phpstorm version .3 works properly with this |