I'm building a mash-up to store meta-data on items from multiple REST API datasources. I'd like to be able to generate typical feeds (most recent, top rated, most viewed, etc) based on data summarized across all the different datasources, and also add tags (i.e. many-to-many relationships).
My problem is that each datasource has a diffe...
I have a cakephp application where there is a form that is visible to visitors who haven't even logged in. If they submit the form without logging in, they are redirected to a login page from where i want them to go back to the add controller with all the submitted form data. Is this possible? If yes, how?
...
I'm new to OO PHP and I have read that using Frameworks can really help me with my projects.
Can anyone suggest a site where I can learn how to start with CakePHP or tell me what I need to do so that I could use the framework CakePHP?
I have no idea X.x
Thanks
...
hello!
can you help me how to use CakePHP's displayField directive, I can not figure out how to use it...
so, in a model file, i have following code...
<?php
class Task extends AppModel {
var $name = 'Task';
var $displayField = 'projectName';
//The Associations below have been created with all possible keys, those that are not nee...
I intended to create a controller that handles a contact page. I created the controller ContactsController. The problem is that it is asking for a table with the same name:
Missing Database Table
Error: Database table
username_contacts for model Contact
was not found.
Notice: If you want to customize this
error messag...
If I am using CAKEphp do I need to use smartytemplates too?
...
Yesterday Facebook launched HipHop, a sourcecode-converter from php to c++. The set of php functions and constructions is more limited that standard php.
Are the current popular php frameworks (ZF, CakePHP, symphony) compatible with HipHop? If not, which parts of this frameworks are not usable?
...
Hi,
I am trying to use Searchable Behaviour hosted here: http://code.google.com/p/searchable-behaviour-for-cakephp/
To initialize the search_index table with existing data, I have used this: http://code.google.com/p/searchable-behaviour-for-cakephp/issues/detail?id=1&q=controller Reply No. 2 which creates the class SearchController.
...
Hi!
If there any manual or article on how use CakeShema?
I'm interested in using models & using bare sql in before() and after() methods.
...
I want to have an application that displays all of my website's external links and outputs a diagram. Like for example www.example.com/articles/some-title.html is linked to my homepage.
Home
- www.example.com/some-text
- www.another-site.com/my-title
- www.example.com/articles/some-title.html Products
Products
- www.buy-now.com/pr...
Hello,
Let's say I have this page with pagination:
localhost/fr/users/index/page:1
I see the correct results for page 1 based on how I have defined the paginate var in my controller. But when I click the next button, the url change to page:2 but the results don't change and are the same as page:1, same thing for page:3, page:4 and so ...
Let's say I have an SSL secured domain at secure.domain.com.
I also have a web application (using silverstripe) at www.domain.com and another at app.domain.com (using CakePHP)
I would like specific areas of www.domain.com and app.domain.com to utilize SSL, and thus must somehow rewrite the paths using the subdomain with the installed S...
whats the best way to implement text feedback after entering the two fields and clicking SUBMIT?
http://nyu.neighborrow.com/items
...
I'm trying to create a web based test (as in exam) application with CakePHP.
When a test is started the webserver stores the exact start time in session. When the test ended and the client submit the answers to the webserver, the webserver will recheck the submission time with the previous start time. If the total test time is within a ...
Hi Guys,
Im tyring to use AJAX to populate a dropdown box based on the selection of another dropdown. I followed a tutorial using jQuery located here - http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/ and have altered the select box ID names in the select box names in the script.
When a chagne the value o...
Hi how do I group by and order by a datetime field with CakePHP?
...
I have a add.ctp... In the model I want to add I have a relation belongsTo, so when I generate that add view he creates a dropdownlist input.
But I want to use radiobuttons instead... I already have the code of the radio button and inside the view I can get wich one is selected.
My problem is, how I pass that value to the controler ins...
i am creating a calender prog, using cakephp
when calling a method disp with month and year as params, it should disp the calender..
this my index.ctp//$month int 1 to 12 //$mon[12]=='December'
<?php echo $form->create('Calendar', array('action' => 'disp', 'class' => 'normal')); ?>
<?php
echo $form->input('month', array('options' =...
I am implementing AES-256 bit encrpytion in my web app:
http://www.utoxin.name/2009/07/automatic-db-field-encryption-in-cakephp/
One of the steps says to store the cipher used and key in a boostrap file. But what is stopping someone from scanning the file system with PS or something and decrypting the data?
What is the best way to se...
Whats the usage of creation relations like
var $belongsTo = array(
'UserType' => array(
'className' => 'UserType',
'foreignKey' => 'user_type_id',
'conditions' => '',
'fields' => '',
'order' => ''
)
);
//The Associations below have been created with al...