Jump to content

Recommended Posts

Hello everyone

 

I just began reading the cakephp online manual, and I will do my best to understand it, in this time i have two questions,

Someome has already installed and configured the cakephp for a website and i need to make few modifications in some pages, after long search i found the files in this location of the ftp:

 

www/app/views/mains (files i can see online are in this folder), the files extension is thtml !

 

my Q: Do I have to login as Admin inorder to make a modification (I won't ask how)? or modifications can be done in another way (usually)?

 

Mnay thanks

 

Link to comment
https://forums.phpfreaks.com/topic/153377-very-newbie-cakephp-question/
Share on other sites

The thmtl (template html?) files are just PHP files with a different extension. You can edit them in any program that can edit PHP.

 

On a different note, the latest release of CakePHP uses .ctp instead of .thtml for the views, so you might want to update.

This is just part of how the framework works.  Cake uses the .ctp extension for views rather than .php like the core files that run the framework.  To answer your question, yes, cakephp interprets the .ctp files and generates the page view.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.