Hi ,
i am working on cakephp. i have my app in my localhost.. And if i try to run my app in other machine , i need to some routing ...
Please give some suggestions of how to do this??
Thank you
hi all, i m facing some problem in find function. im fetching value fro find function.i have model.contian another model .
Can i give conditions in contain in cakephp
is it possiblehi
How to convert the existing flash site into mobile version existing site in form of the cakephp frame work. We thought that html ,css,php,javascript may work all mobiles.We dont know exactly. Please tell us how many possible way to develop existing site into mobile version and also need to detect the from which browser the request is coming…
hi all,
with cakephp, is it possible to have update sql action instead of delete (i would like to set some kind of flag, so it "looks" like it is deleted)?
tnx in adv!!!
i have a web application that export CSV and i logged in as admin but what happened during the exportation the IE opens a new tab and export the CSV but what happens next when you click any of the link on the web app you will automatically logout!
This only happen on IE.
here is the header i used:
…
Hi all,
I have got a simple HTMl form with one field as follows:
<input type="text" name="data['User']['user_id']" id="data['User']['user_id']" value="1">
$(document).ready(function(){
$("#data['User']['user_id']").mouseover(function(){
alert("hello");
});
});
The code couldn't work,
I…
I am currently using CakePHP v2.2.1 and MeioUpload 4.0 along with phpThumb() to try and generate image uploads and thumbnails for those images. If i set my $actAs = array() without the thumbsizes property everything is uploaded well, but when I add the following:
'thumbsizes' => array(
…
I am using the following code to make an unordered list into a carousel with jcarousel lite and jquery:
<?php echo $this->Html->script(array('jquery-1.4.2.min','jquery.easing.1.1','jcarousellite_1.0.1.pack','jquery.mousewheel.min'), array('inline' => false)); ?>
<?php…
Hi there,
For my site I have a number of Orders each of which contains a number of Quotes. A quote is always tied to an individual order, so in the quotes controller I add a quote with reference to it's order:
function add($orderId) {
// funtion here
}
And the calling URL looks a bit…
Hi,
I have a list of ordered items, ordered according to the int field order.
I'm creating a gallery in CakePHP 1.2 that has a prev and next button and those should link to the previous and next item according to their ordering, not according to their id.
In order to get this result I've…
I moved my cakephp site from a subdomain over to a different domain. I handled the permanent redirect in my htaccess file but in the redirect i am losing my neat/clean url handling.
old site
iphone.gameachievements.org
new site
gameachievements.org
example of current redirect…
I am trying to add the SQL_CALC_FOUND_ROWS into a query (Please note this isn't for pagination)
please note I am trying to add this to a cakePHP query the code I currently have is below:
return $this->find('all', array(
'conditions' => $conditions,
…
Hello!
I have a problem with writing cookies in cakephp and even don't know how to debug it or where too look for a clue.
I've inherited a project where cookie were only created using the Session component, of course i added 'Cookie' to $components array in app_controller and…
Greetings!
I run into a problem/bug in production environment with SQL Error: 1104 when deploying a project secured with the ACL tutorial.
The full error:
SQL Error: 1104: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1…
I am trying to create a message-board type element in a CakePHP app. This element will be displayed on all pages and views that use a particular layout. I want it to display all the messages in the model, then show the add form when a link is clicked, then return to the…
As part of a web application users can upload files of data, which generates a new table in a dedicated MySQL database to store the data in. They can then manipulate this data in various ways.
The next version of this app is being written in CakePHP, and at the moment…
I'm trying to make an unobtrusive action for deleting bookmarks in CakePHP.
Allthough it's working just fine, I suspect there must be a better way to do this. Could someone please point me in the right direction?
function delete($id = null) {
$ok =…
Hi there,
I'm pretty new to CakePHP and was missing a crucial feature not generated as scaffold: filtering.
What do I have to do to provide dropdowns or multi-selects on the index pages for each field that is a (foreign) key, thereby allowing to…
I have upgraded my Xampp to newer version(1.7.2).But right now when I run my project(done in CakePHP) it is throwing bug saying
Deprecated: Assigning the return value of new by reference is deprecated in…
I have a few sites built with Cakephp. If any of these sites lose their connection to the database for whatever reason it does not handle it well. Basically it renders itself inside itself trying to display…
Hi all,
I got a few lines of codes in a Model in cakePHP 1.26:
function beforeSave() {
$this->data['User']['pswd'] = md5($raw['User']['pswd']);
return true;
…
Hello,
I am just getting started with Cakephp shell and running into issues.
My cake core library is under path d:/libs/cake
My app is setup under d:/servers/htdocs/myapp
I wrote a test shell under…
I am new to cakephp and I'm trying to accomplish something that should be relatively easy.
I have 2 models projects & categories bind by HABTM relationship.
I am trying to perform the following…