# |
May 28th 2017, 19:00 |
chris-andre |
Seems like your prod serve repo is different from the local repo. |
# |
May 28th 2017, 18:58 |
igreat |
The view templates are located in root/src/Template/Plugin/cakedc/users/Users |
# |
May 28th 2017, 18:57 |
chris-andre |
Ah, sry. Misunderstood. |
# |
May 28th 2017, 18:55 |
chris-andre |
Where is the template file you created stored? Which path? |
# |
May 28th 2017, 18:54 |
igreat |
The layout is working fine, but the view templates are located in root/src/Template/Plugin/cakedc/users/login.ctp |
# |
May 28th 2017, 18:50 |
chris-andre |
Is the template located in root:src/Template/Layout? |
# |
May 28th 2017, 18:46 |
igreat |
Yea, via the debug kit |
# |
May 28th 2017, 18:45 |
chris-andre |
@igreat have you tried to clear cache? |
# |
May 28th 2017, 18:39 |
igreat |
Can anyone help me with a solution? |
# |
May 28th 2017, 18:39 |
igreat |
>On my app, I used cakedc users plugin, and created new template file to override the plugin templates which are working fine on my local host (offline). >But after putting it online, it wont use the templates I created, instead it keeps using the template that came with the plugin |
# |
May 28th 2017, 15:09 |
birdy247 |
but then gives a missing controller of the sectionname |
# |
May 28th 2017, 15:08 |
birdy247 |
it builds the route just fine |
# |
May 28th 2017, 15:08 |
birdy247 |
www.mydomain.com/:sectionname/:id-:slug |
# |
May 28th 2017, 15:02 |
birdy247 |
i.e. "portfolio" |
# |
May 28th 2017, 15:02 |
birdy247 |
where "blog" is dynamic |
# |
May 28th 2017, 15:02 |
birdy247 |
would connect to Articles::view |
# |
May 28th 2017, 15:01 |
birdy247 |
i.e. www.mydoamin.com/blog/id:-:slug |
# |
May 28th 2017, 15:01 |
birdy247 |
Is there a way to create a route based on a variable |
# |
May 28th 2017, 14:05 |
inoas |
okay |
# |
May 28th 2017, 14:05 |
inoas |
I really hope that 4.x will have non static time objects/configuration/setup |
# |
May 28th 2017, 14:05 |
jeremyharris |
I don't try to avoid them necessarily, just use them judiciously |
# |
May 28th 2017, 14:05 |
inoas |
it pretty much feels like programming with globals |
# |
May 28th 2017, 14:04 |
inoas |
that's my fear |
# |
May 28th 2017, 14:04 |
jeremyharris |
I've worked on big apps that have complex events and it takes a long time to figure out what's going on |
# |
May 28th 2017, 14:04 |
inoas |
I feel like they break the FrontController MVP/MVC pattern |
# |
May 28th 2017, 14:04 |
inoas |
Do you try to avoid them if it is sane? |
# |
May 28th 2017, 14:03 |
jeremyharris |
Events are nice but yes it can be tricky to debug. I use them |
# |
May 28th 2017, 14:03 |
inoas |
30° C here |
# |
May 28th 2017, 14:03 |
inoas |
:/ |
# |
May 28th 2017, 14:03 |
inoas |
But this time I think I have no choice but to use events and cells for mini-applications embedded in content first cms |
# |
May 28th 2017, 14:02 |
inoas |
"I just like to know exactly what's happening" ;-) |
# |
May 28th 2017, 14:02 |
inoas |
Personally I love when I can easily trace where a software runs... |
# |
May 28th 2017, 14:02 |
inoas |
What's your stance on event driven software then? |
# |
May 28th 2017, 14:01 |
jeremyharris |
That's a good plan. I should probably check it out again, it's been a while |
# |
May 28th 2017, 14:01 |
inoas |
it felt like too much obligations... when things are done I may see if I can gain much from using CRUD |
# |
May 28th 2017, 14:01 |
inoas |
I am currently moving away/skipping crud for one thing that I could have crudified... |
# |
May 28th 2017, 14:00 |
jeremyharris |
No crud either haha, good guess |
# |
May 28th 2017, 14:00 |
jeremyharris |
Maybe. I just like to know exactly what's happening |
# |
May 28th 2017, 14:00 |
inoas |
no CRUD for your either? |
# |
May 28th 2017, 14:00 |
jeremyharris |
Yep |
# |
May 28th 2017, 14:00 |
inoas |
maybe something meditative about it (no pun!) |