Questions tagged [ctp-file]
5 questions
47
votes
12 answers
What is a .ctp file used for in CakePHP?
I'm starting to use CakePHP, and I'm in the process of reading the manual. About halfway down the page, there's this comment:
// Render the element in /views/elements/ajaxreturn.ctp
So a very simple question: what's the .ctp extension refer to? …

Dirk
- 6,774
- 14
- 51
- 73
2
votes
1 answer
How to Search text in dreamweaver for all files in project containing the text '$this->webroot' in CakePHP ctp file?
Hi i am getting one problem in adobe dreamweaver CS3.
Currently dreamweaver not supporing to find any text from .ctp file in the entire project. I can see here it supports .php, .js, .html etc. So i am unable to search .ctp all files in entire…

Developer
- 2,676
- 8
- 43
- 65
1
vote
3 answers
call controller action from ctp file
I want to call an action of controller file from a .ctp file in cakephp. is it possible? yes, than how? please help. for e.g.
I have an action in controller.
users_controller.php

gautamlakum
- 11,815
- 23
- 67
- 90
0
votes
1 answer
CakePHP executes .ctp file twice
I am using CakePhp to build an application that interfaces with the Linkedin API. I have a simple page that is given a linkedin members ID in a GET variable and Application Authentication token in a session variable. The page controller should do…

pyro70
- 89
- 2
- 12
0
votes
0 answers
How can I put CakePHP templates (CTP files) into HTML?
Whilst I am familiar with HTML, CSS, SQL and some Javascript, I know nothing about PHP and my hours of searching on the Internet just takes me to tutorials which show me how to build PHP scripts from scratch, which is not helping me. I am not sure I…

user3042784
- 9
- 1