had seen the Cookbook chapter about installing cakePHP
application in three separate app, but it explains how to configure it
for one application, it doesn't explain how to configure it to work
with different apps.
Thank you.
On 22 jul, 13:56, Amit Badkas [EMAIL PROTECTED] wrote:
2008/7/22 inma
Hello,
¿It's possible to have multiple applications into CakePHP sharing the
same Cake core libs and the same webroot folder? A folder structure
like this:
/root
/app
/config
/controllers
/models
/plugins
/tmp
/vendors
/views
index.php
/app_2
findAll(datetime1 datetime2)
On 30 abr, 12:22, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi
I have a model with two datetime (datetime1 datetime2).
Now I must find all records with datetime1 datetime2.
How must I write findAll condition to do this?
Hi,
I need to catch model and controller errors and send it to the view
throw json. I need to send to the view something lik: {success: false,
error: model/controller errors}
How can I catch the model errors from $validate rules?
And how can I catch errors from controller in actions like
Ok. I will take a look.
Thanks.
On 30 abr, 13:28, Sliv [EMAIL PROTECTED] wrote:
Look at the validationErrors property
Look at the beforeSave methodhttp://api.cakephp.org/1.2/class_model.html
Look at the validationErrors
propertyhttp://api.cakephp.org/1.2/class_view.html
Look at the
Take a look at:
http://cakebaker.42dh.com/2007/10/17/pagination-of-data-from-a-habtm-relationship/
Regards.
On 23 abr, 11:41, Neveldo [EMAIL PROTECTED] wrote:
Anybody has a solution ?
thank !
Cordially,
Neveldo :http://www.neveldo.fr
--~--~-~--~~~---~--~~
Good job Federico!
Gracias por compartirlo.
Un saludo!
On 22 abr, 04:32, Federico Rinaldi [EMAIL PROTECTED]
wrote:
http://www.ad7six.com/MiBlog/Blogs/view/GenericFileUploadBehavior
Regards,
eyesonly.
On Mon, Apr 21, 2008 at 10:15 AM, Krommenaas [EMAIL PROTECTED] wrote:
Hi,
Where
Into a Uer model, I have a field named cod_serial defined as
varchar(6) into database.
I use json to render the view. But when I parse the data to json
format (with utf8_encode($javascript-Object($users)))
The result is:
{User:{user_id:1, name: , cod_serial:08}}
It seems that
Array
(
[User] = Array
(
user data
)
[PermissionGroup] = Array
(
[0] = Array
(
[id] = 5
[numero_horas] = 10
)
[1] = Array
(
I have an User class and a PermissionGroup class. User has defined a
hasAndBelongsToMany relation with PermissionGroup.
If into database exists one user with two permission grups assigned,
when I run this code:
$userA = $this-User-findAll($sort, $limit, $page); //gets all the
User records and
Yes, you can group your models, controllers and views into
subdirectories.
You have to set additional paths to models, views and controllers into
documentRoot/app/config/bootstrap.php.
For example:
$modelPaths = array(MODELS.usuarios.DS, MODELS.sistema.DS,
MODELS.proyectos.DS);
Hi,
I have an User class and a PermissionGroup class. User has defined a
hasAndBelongsToMany relation with PermissionGroup.
If into database exists one user with two permission grups assigned,
when I run this code:
$userA = $this-User-findAll($sort, $limit, $page); //gets all the
User records
are
getting the json string when you call getAllUsers directly means
you're on the right track. Let me know if I can help.
BTW, I'm about 1/2 way done on a forms tutorial . . .
hydra12
On Jan 11, 8:13 am, inma [EMAIL PROTECTED] wrote:
Thank you Hidra12!
I read your
Thank you Hidra12!
I read your datagrid tutorial for ext-2.0.
I'm using ext-2.0 and CakePHP 1.2 Beta, too.
But when I call to myroot//users/getAllUsers, it shows that:
{total:8, users:[{id:6, username:archangel,
fullname:Worthington, Warren}, {id:2, username:cyclops,
fullname:Summers, Scott},
on my work schedule.
hydra12http://www.ntatd.org/mark
On Jan 9, 12:23 pm, DjZoNe [EMAIL PROTECTED] wrote:
Hi inma,
I started to write here a little help, but it became bigger as I
expected.
So I rather posted into my blog:http://djz.hu/blog/posts/689
--
DjZoNe
Hi,
I'm
Hi,
I'm newbie in CakePHP and ExtJS. I'm developing a new application with
CakePHP, and I want to integrate the ExtJS forms into this
application. I was looking some posts about it.
Nevertheless, I don't know how to match Cake model, controller and
view with ExtJS exactly. :-(
Can someone
Hello,
I'm looking for component or helper to filter/search/paginate
results. I need it for version 1.1.15 (not version 1.2).
I want something exactly like this
http://www.javascriptkit.com/script/script2/tablefilter.shtml,
but I need to refresh data from database when the filter or the
Hello,
I need to know the way to define two different data sources at the
same time (MySQL Oracle). Is this possible?
I have to read data from both data sources and show it at the same
screen.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this
18 matches
Mail list logo