21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 354 Views |
-
$db fields do not appear in the DashBoard

27 November 2012 at 11:15pm Last edited: 27 November 2012 11:15pm
Hi,
I'm newcomer to SS, and I have seen a lot of doc, and have made working the tutorial about Students and Project.I'm trying to achieve a very similar stuff than the tutorial one.
I have a CarManufacturer class
a CarManufacturerHolders which aims to contain all CarManufacturers
and a TypeCar class which aims to describe the kind of car (Audi has a A1 car type, but also A3 , .....)meanwhile I add attributes to my CarManufacturer class, a name and a specific code....
And when I have a look on the DashBoard (Admin panel), when I try to add a CarManufacturer I do not have those attributes.
I have only the ones concerning a "page", i.e. Name Url Segment ...I don't understand whether I do a mistake or whether I forgot something. I would expect having those fields in the admin Panel when I create this kind of Objects.
My example is a very trivial one, very similar to the tutorial one except that in the tutorial the Project class (extends Page) doesn't have $db specific attributes
Hope Am I clear enough...
thanks in advance for your hints.
-
Re: $db fields do not appear in the DashBoard

30 November 2012 at 2:07am
Difficult to give an answer without seeing your code. Can you paste the code for all three classes?
-
Re: $db fields do not appear in the DashBoard

30 November 2012 at 5:06am
Thanks IOTI,
I solved my problem, it was a bad relationship described.
A newcomer classic error....Thanks
| 354 Views | ||
|
Page:
1
|
Go to Top |


