23001 Posts in 11702 Topics by 2827 members
|Go to End|
27 November 2012 at 11:15pm Last edited: 27 November 2012 11:15pm
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.
30 November 2012 at 2:07am
Difficult to give an answer without seeing your code. Can you paste the code for all three classes?
30 November 2012 at 5:06am
I solved my problem, it was a bad relationship described.
A newcomer classic error....
|Go to Top|