I wrote a test like this for tipo_vehiculo model in my app
>
> function testActive() {
> $this->TipoVehiculo =& ClassRegistry::init('TipoVehiculo');
> $this->TipoVehiculo->recursive=-1;
> $result = $this->TipoVehiculo->active(33);
> $this->assertTrue($result);
>
Yes is enabled, im think some configuration is missing.
On 25 feb, 14:29, Stephen wrote:
> Make sure mod_rewrite is enabled on the server.
>
> On 25 February 2011 18:58, edwingt wrote:
>
>
>
> > Hello every one
> > I'm taking a cakePHP site that is show
Hello every one
I'm taking a cakePHP site that is showing
http://serenata.krea-tec.net/index.php/serenatas/select_motive/1
I'm wondering why index.php is included in the url insted of
http://serenata.krea-tec.net/serenatas/select_motive/1
Where this configuration is made, I'm tring to remove "index
I solved doing this
echo $form->input('Periodico',array('onclick'
=>"Effect.toggle('period', 'blind');"));
because I already have scriptaculous working on my app.
On 16 feb, 18:15, edwingt wrote:
> Thanks Jhon
>
> On 16 feb, 10:1
Thanks Jhon
On 16 feb, 10:11, John Andersen wrote:
> What you want to do is not an ajax request, just use ordinary
> javascript to hide/show the element.
> Enjoy,
> John
>
> On Feb 16, 5:48 pm, edwingt wrote:
>
> > I have a questio,
> > is posible to create a
I have a questio,
is posible to create an ajax call just to show and hide some iput
fields. Without calling a controller action.
Im using
$options = array('url' => period,'update' => 'period',
'complete' => "Element.appear('period');");
echo $ajax->observeField('EventoPeriodico',$options);
The fi
You have to includ it in the vendors directory and load it as
App::import
More info here http://book.cakephp.org/view/538/Loading-Vendor-Files
On 29 dic, 10:53, Lorenzo Bettini wrote:
> Hi
>
> I've just started using cakephp and I'm porting an older application.
>
> I need to use a bibtex parser,
I have a model object called "ImpresorasProducto" that belongs to a
NxM relationship table impresoras_productos.
When I'm in "ImpresorasProductosController" and debug the model object
it prints this:
ImpresorasProducto Object
(
[name] => ImpresorasProducto
[belongsTo] => Array
(
Hello,
I want to save an empty date field, but I cant.
There are some options to tell the date field that can be null?
I already check that no rule is defined in the model, for the date
field and the database date field accepts nulls.
Any advice?
--~--~-~--~~~---~--~--
Hello I have a master detail form where I need to generate dynamic
detail form items.
I can do it with java script as in this sample
http://www.openjs.com/scripts/examples/addfield.php
Adding forms fields like in the example is a good cakephp practice, or
is another way to do it using the javascr
I have this mesage after configurating the database.php file
Call to undefined function cake_conn() in mydir/cake/libs/model/dbo/
dbo_mysql.php on line 102
I already verify the modrewrite and .htaccess files and im sure that
mysql cli is configured with
extension=mysql.so
I surf the web for two
11 matches
Mail list logo