Log message #4114563

# At Username Text
# Feb 5th 2018, 20:49 maneken WanderingJon: thanks for the reply. I don't have a problem to use a Model. I'm trying to avoid using a db table for just one record
# Feb 5th 2018, 20:46 WanderingJon Have you checked https://book.cakephp.org/3.0/en/core-libraries/form.html ?
# Feb 5th 2018, 20:45 WanderingJon It would be simpler to just set up the model and add 1 admin user to check against.
# Feb 5th 2018, 20:44 WanderingJon maneken, may I ask why you're doing it that way? I imagine that would make things more complicated later on.
# Feb 5th 2018, 20:35 maneken Do I have to create a model, even if I won't use the database for the authontication?
# Feb 5th 2018, 20:35 maneken I created a User controller (I haven't created a Model), and I want to write a login function that checks the hash of $this->request->data['password'] against a hardcoded hash
# Feb 5th 2018, 20:34 maneken Hello. I have a simple app and I want a very simple login page, asking only for an admin password, which authenticates the password with a hardcoded hashed password. I don't need other users, or a change password functionality. I just want something slightly more sophisticated that apache htaccess.
# Feb 5th 2018, 20:21 WanderingJon @nimasageng99 do you mean create an api with cakephp or working with another api using cakephp?
# Feb 5th 2018, 20:18 nimasageng99 how to work with API on cake php?
# 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.