wser not to cache at
> all? I haven't heard of such a thing.
>
> On Dec 5, 4:39 am, Joyce <[EMAIL PROTECTED]> wrote:
>
> > I see. Hopefully I can get what you mean by that.
>
> > I will give it a shot. Thanks.
>
> > On Dec 5, 2:31 am, "Chris Hartj
I see. Hopefully I can get what you mean by that.
I will give it a shot. Thanks.
On Dec 5, 2:31 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Dec 4, 2007 1:26 PM, Joyce <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks Chris,
>
> > I will look th
Thanks Chris,
I will look through your tutorials. I am using CakePHP 1.1, can that
work?
On Dec 5, 2:11 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Dec 4, 2007 12:49 PM, Joyce <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I have questi
m to a blank page, but who cares?
>
> On Dec 4, 12:49 pm, Joyce <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have question regarding how to prevent users from going back to the
> > application after they have logout.
>
> > Below is my index and logout for
Hi,
I have question regarding how to prevent users from going back to the
application after they have logout.
Below is my index and logout for userscontroller:
function index() {
$this->checkSession();
if ($this->Session->check('user')) {
$this->Us
| Null | Key | Default | Extra |
> > +--+--+--+-+-++
> > | id | int(20) | | PRI | NULL|
> > auto_increment |
> > | cat_id| int(5) | | | 0 |
> > |
> > | Field| Type | Null | Key | Default | Extra |
> > +------+--+--+-+-++
> > | id | int(20) | | PRI | NULL|
> > auto_increment |
> > | cat_id| int(5) | | |
|
+--+--+--+-+-++
| id | int(20) | | PRI | NULL|
auto_increment |
| cat_id| int(5) | | | 0 |
|
| productname | varchar(100) | | | |
|
+--+--+--+-+-++
Thanks.
On Dec 1, 11:36 pm,
;{n}.Category.catname"));
>
> > Thanks.
>
> You're welcome.
>
> > On Dec 1, 5:41 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> > > I you want to use fields from associated tables, use the key/valuePath
> > > options in M
tables, use the key/valuePath
> options in Model::generateList(), and set recursive to the apropiate
> value.
>
> 2007/11/30, Dardo Sordi Bogado <[EMAIL PROTECTED]>:
>
> > This is for fields from the same table. I don't understand what you
> > mean with "
layField :
>
> class Category extends AppModel {
> var $name = 'Category';
> var $displayField = 'catname';
>
> }
>
> Then, it becomes:
>
> $categories = $this->Category->generateList();
>
> 3. You can rename colmn catname to name (defau
me';
>
> }
>
> Then, it becomes:
>
> $categories = $this->Category->generateList();
>
> 3. You can rename colmn catname to name (default displayField).
>
> I think number 2 is best.
>
> Dardo Sordi.
>
> 2007/11/30, Joyce <[EMAIL PROTECTED]>:
Hi all,
I am a newbie in cakePHP, and I have created a table as per below.
I have 3 fields for my categories table, and would like to create a
Select form element to insert new categories and link within the table
itself(where the parent_id comes from the id).
Such that it will echo the select
13 matches
Mail list logo