# |
Feb 5th 2018, 19:38 |
WanderingJon |
I'd rather not have to rewrite the api for cakephp. My initial thought was to create an endpoint in cake just for the login stuff and have my Slim api access it/check that way, but that seems insecure. |
# |
Feb 5th 2018, 19:36 |
WanderingJon |
I have a cakephp 3 app and an API written with Slim for a mobile app. I now have to add some features to the app that display information from the CakePHP side, is there some documented way to check username/passwords for Cakephp in another application? |
# |
Feb 5th 2018, 19:24 |
learningcake |
but if I move the application to public_html/cake it works. Kindly note that I am using a subdomain. |
# |
Feb 5th 2018, 19:19 |
learningcake |
heello Guys. I don't know why my application is giving me error 500. My application is in a folder->subfolder (public_html/cake/app) and I point my document_root to webroot that is inside the app folder. Do you know why I am having such error? |
# |
Feb 5th 2018, 19:11 |
maymeow |
can i put plugins controllers etc n subfolders? like `./pluginx/ee/<plugin--name>` ??? |
# |
Feb 5th 2018, 13:58 |
saeideng |
bye |
# |
Feb 5th 2018, 13:58 |
saeideng |
if I uderstand your problem |
# |
Feb 5th 2018, 13:57 |
saeideng |
call it by `$this->element('nav')` from layout |
# |
Feb 5th 2018, 13:57 |
saeideng |
and |
# |
Feb 5th 2018, 13:57 |
saeideng |
you can cut top nav into an element |
# |
Feb 5th 2018, 13:56 |
saeideng |
you now using APP/Template/Layout/default.ctp / APP/Template/Patient/index.ctp |
# |
Feb 5th 2018, 13:55 |
loginews |
bye |
# |
Feb 5th 2018, 13:54 |
loginews |
thanks I will look at your links |
# |
Feb 5th 2018, 13:54 |
loginews |
I will not waste your time. |
# |
Feb 5th 2018, 13:54 |
loginews |
ok |
# |
Feb 5th 2018, 13:54 |
saeideng |
I not undrestand |
# |
Feb 5th 2018, 13:53 |
saeideng |
> it requires reloading twice. no |
# |
Feb 5th 2018, 13:51 |
saeideng |
let me |
# |
Feb 5th 2018, 13:51 |
loginews |
got it? |
# |
Feb 5th 2018, 13:51 |
loginews |
click on the "patient" icon at the top. |
# |
Feb 5th 2018, 13:51 |
loginews |
yes... it requires reloading twice. |
# |
Feb 5th 2018, 13:50 |
saeideng |
http://loginonline.net/pedia/patient |
# |
Feb 5th 2018, 13:50 |
loginews |
click on that |
# |
Feb 5th 2018, 13:50 |
loginews |
you will get a "patient" icon at the top |
# |
Feb 5th 2018, 13:49 |
loginews |
reload it a second time. |
# |
Feb 5th 2018, 13:49 |
saeideng |
what is problem ? |
# |
Feb 5th 2018, 13:49 |
saeideng |
I see your link |
# |
Feb 5th 2018, 13:49 |
loginews |
do you mind trying my link ? |
# |
Feb 5th 2018, 13:48 |
loginews |
I am working on that |
# |
Feb 5th 2018, 13:48 |
saeideng |
https://github.com/cakephp/cms-tutorial/blob/master/src/Template/Layout/default.ctp |
# |
Feb 5th 2018, 13:48 |
loginews |
an example is: http://loginonline.net/pedia/drugs |
# |
Feb 5th 2018, 13:48 |
loginews |
I came to cakephp from msaccess to bring my apps to the web. |
# |
Feb 5th 2018, 13:47 |
loginews |
let me explain |
# |
Feb 5th 2018, 13:47 |
loginews |
ok |
# |
Feb 5th 2018, 13:46 |
saeideng |
and https://book.cakephp.org/3.0/en/views/cells.html |
# |
Feb 5th 2018, 13:46 |
saeideng |
https://book.cakephp.org/3.0/en/views.html |
# |
Feb 5th 2018, 13:45 |
loginews |
ok... sounds like it will work. Where is that in the cookbook? |
# |
Feb 5th 2018, 13:45 |
saeideng |
if you looking for spliting theme |
# |
Feb 5th 2018, 13:45 |
saeideng |
you can split your theme with using this features |
# |
Feb 5th 2018, 13:44 |
loginews |
No where is that? |
# |
Feb 5th 2018, 13:43 |
saeideng |
and Block |