All Questions

RSS

1 answer

0 votes

Asked by andrea, on 25/1/10 in Installation / Configuration

Enable Gzip compression and set Cache expire times in CakePHP

I am using CakePHP with Apache2. Analyzing my pages with the tool PageSpeed from Google, I find two main problems. The first is that I should enable gzipping of content, the second that I should leverage browser caching for images, javascript and...

2 answers

0 votes

Asked by Shacamus, on 4/2/10 in Helpers

CakePHP + JsCalendar

Hi everybody,

Project : Integrate the JsCalendar script with CakePHP.

I'm using the helper described here "http://forum.cakephp-fr.org/viewtopic.php?id=1155"

Event


<?php
class Event extends AppModel{
	
	var...

1 answer

0 votes

Asked by Smashy, on 14/12/09 in Models

Array index id value 0 - undefined index

Hi,

I'm trying to connect to companies firebird database which doesn't follow cakephp conventions - ID is named SIFRA and table name is in singular. Schema change is not an option here.

ibmanager_lite describes table like:


CREATE TABLE PARTNER (
 ...

3 answers

1 vote

Asked by raheel, on 7/12/09 in Models

How to use Multiple Fields in $displayField var

I want to use 2 Concatenated fields in $displayField variable in a model so that the view can show both FirstName and LastName in the dropdown selection.

var $displayField = "firstName";

I need something like

var $displayField = "firstName"."...

1 answer

2 votes

Asked by JakubLedl, on 15/11/09 in Models

User-Agent header

Well, another question:

Is there a posibility to determine by using RequestHandler wheter client uses Internet Explorer (like User-Agent header)? I need it to know if I can send application/xhtml+xml mime type or not.

1 answer

1 vote

Asked by Phil, on 16/11/09 in Models

How to use Propel as DAO

Dear CakePHP Team,

I would like to know if you could give me some advice how I can (if possible) include Propel as the default DAO.

Cheers,

Phil

1 answer

0 votes

Asked by sebb86, on 4/1/10 in Models

SQL Error: 1066: Not unique table/alias

Hello,

this is the complete error message:


Warning (512): SQL Error: 1066: Not unique table/alias: 'Port' [CORE\cake\libs\model\datasources\dbo_source.php, line 525]

What is wrong there?

Thanks if someone can help! :)

Greetings! :)

2 answers

-1 votes

Asked by henriquemachado, on 16/12/09 in Models

Minimal Social App Example (Request)

Somebody here can share an source code of an (minimal) social app?

With users habtm friends, comunities..

Like facebook or orkut..

Thanks in advance

0 answers

0 votes

Asked by colinm, on 8/1/10 in Helpers

jquery Image upload crop and risize helper

There was a article/helper on the bakery called "jquery Image Crop and resize" (or very similar) but it seams to have disappeared, any one know where I can find it ? It used this jquery plugin http://odyniec.net/projects/imgareaselect/

I've got...

2 answers

1 vote

Asked by bbender, on 11/11/09 in Views

Index page is blank after new record entry

Greetings all,

I have an "add comments" page and when I try to add a new entry for my page's comments, I am returned to the main page (which is what I want), but the main page is blank!? I then have to refresh the page (usually I can only do it by...

2   3   4   5   6   7   8   9   10

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.