I need to run a save/update query but only update those fields that aren't
empty. My form contains a FILE field and if I don't upload any file then
when the save() is executed this field goes blank even if previous data is
presented so how can I save/updated but onlye the fields with content to
upd
Hi every:
Because I'm using Bootstrap from Twitter and want to prettify my page ;) I
need to set a {number} to the active element in Paginator
Helper. Right now my code looks as follow:
Paginator->prev('<< ', array('tag' => 'li'), null,
array('class' => 'prev disabled', 'tag' => 'li'));
Hi every:
After a lot of Google hours and finally I found a plugin for handle
multiple files uploads. The address for this plugin is this one:
http://milesj.me/code/cakephp/uploader#installation. Because I'm newbie
with Cake I need your help on some parts. I have a table called "Records"
and other
gsto>
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2012/2/25 reynie...@gmail.com
>
>> Hi:
>> I have a table called "*informations*" (http://pastebin.com/h3UiUhpx)
>> and also have this associated tables "educations"
Hi:
I have a table called "*informations*" (http://pastebin.com/h3UiUhpx) and
also have this associated tables "educations", "attachments" and
"experiences" (http://pastebin.com/RdWzfria) (please see pastebin URLs I
put the code there to not ugly the post). As you may notice all this tables
have a
Hi:
I'm having some problems handling file uploads and database saving. I have
a table where I need to store the route where uploaded files are saved but
not know how to achieve this. I found this
http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/ and I'm
trying to adjust my code to fi
Thanks it works !!
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
On Thu, Feb 23, 2012 at 6:06 PM, Tilen Majerle wrote:
> $this->From->create('Information', array('class' => 'yourclassname'));
> --
> Lep pozdrav, Tilen Majerle
> http
Hi:
I was reading the doc for Form Helper finding how to add "class" attribute
to a tag but can't find how, can any point me in the right
direction? I'm generating the form with this code: "echo
$this->Form->create('Information');"
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
--
Our new
Ohhh thanks I miss this part now it works.
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
On Thu, Feb 23, 2012 at 5:48 PM, jeremyharris wrote:
> It's because the item Country does not exist on Information. Models are
> always singular, so where you have Countries defined in your Informa
And? What's the solution for this problem? How I can fix this?
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
On Thu, Feb 23, 2012 at 5:30 PM, jeremyharris wrote:
> The model it is probably looking for is Person, which in english is the
> singular of People.
>
> So PeopleController uses
Hi:
I'm trying to bake one of my DB tables and this is what I'm doing:
1) Create (M)odel for TblInformations table
2) Create (M)odel for TblInformationTypes table
3) Create (V)iew for TblInformationTypes table but at this step I get
stucked and this error appear:
Error: Database table information
Ok sorry for that my bad I'm using ->script when should be ->css miss this
mail
:-(
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
On Thu, Feb 23, 2012 at 9:19 AM, reynie...@gmail.com wrote:
> Hi:
> I'm trying to use Twitter Bootstrap for the look & feel of m
llers are
> CountriesController (pluralized))
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2012/2/23 reynie...@gmail.com
>
>> OK, I made some changes to my DB structure and also to my code but still
>> getting errors, see below what I'm doing now.
Hi:
I'm trying to use Twitter Bootstrap for the look & feel of my application
but I must doing something wrong because does not work :-(. I've created a
file called default.ctp under View/Layouts folder and in this file I use
this code for styles:
Html->script('bootstrap.min.css'); ?>
B
n' => 'index'));
} else {
$this->Session->setFlash(__('Unable to update the country.'));
}
}
}
But I get this error:
Missing Database Table
Error: Database table countries for model Country was not found.
Why?
Ing. Reynier Pérez Mira
http://reynierpm.site90
eb 23, 2012 at 7:40 AM, Tilen Majerle wrote:
> http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html
>
> look here, cakephp conventions
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2012/2/23 reynie...@gmail.com
>
>> Hi Tilen, I
should use camelized and singularized name, so $this->Country->id =
> $id and it will work
>
>
>
> VIEW:
> Form::create(); here you should have the same model name as you pass data,
> "Country" and not CountryFrm
> --
> Lep pozdrav, Tilen Majerle
> http://m
Hi every, I'm newbie using CakePHP and have several doubts and here I come
with two of them. I'm trying to use Twitter Bootstrap to build my
application Layout, now:
- I've created the file View/Layouts/default.ctp and inside in the code
I need to use $content_for_layout ($this->fetch it's o
What you mean with debug the save function? This
debug($this->Modalidad->save()); or you mean using a IDE like Netbeans?
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
On Sun, Oct 2, 2011 at 5:31 PM, AD7six wrote:
>
>
> On
e them and try to
> save.
>
>
> On Sun, Oct 2, 2011 at 6:14 PM, CrotchFrog wrote:
>
>> Just wondering if this issue has been resolved? I'm having the same
>> problem with 2.0 RC2.
>>
>> On Sep 30, 4:46 am, "reynie...@gmail.com" wrote:
>>
Well I'm using 1.3.12 so I didn't know where it fails
On Oct 2, 2011 11:45 AM, "CrotchFrog" wrote:
> Just wondering if this issue has been resolved? I'm having the same
> problem with 2.0 RC2.
>
> On Sep 30, 4:46 am, "reynie...@gmail.com" wrote:
&g
Return "Entro" so it goes trough (!empty($this->data)) :-(
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> Try this
ing to me
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
On Thu, Sep 29, 2011 at 12:33 PM, Toby G wrote:
> I think we'll need some more info...
>
> I woud suggest inspecting your validation erros to see if that's
> prevent
; fsdfsdfd
)
)*
So there is data and no errors :-(
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
On Fri, Sep 30, 2011 at 4:02 AM, reynie...@gmail.com wrote:
> Well the DB isn't MySQL it's SQLite3 ;) I debug $this->data
Didn't work either and not, I not change the structure of the table or
database :-(
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
On Fri, Sep 30, 2011 at 2:52 AM, abhimanyu bv wrote:
> check this:
> http://pastebin.com/MKT4RVkK
&
You mean this: http://pastebin.com/6UsGga4k, didn't work either but it die
"Entro" ,what I'm doing wrong? Need the SQLite3 DB specials permissions? I'm
in Win7 x64 with XAMPP.
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.co
orreo: reynie...@gmail.com / reynie...@hotmail.com
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send ema
ny tell me why or where it fails?
Cheers and thx in advance
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.c
28 matches
Mail list logo