21307 Posts in 5737 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 158 Views |
-
GriedField & many_many relation between DataObjefcts

15 August 2012 at 12:09am
Hi:
I am having a problem with customizing the many_many relation between 2 DataObjects . Following this tutorial http://doc.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management , GreidField works fine in my code but I cant find a way to use CheckBox instead of a table !
Here is my code .
SGallery extends Page : http://sspaste.com/paste/show/502a34dad57b7
SGalleryImage extends DataObject :http://sspaste.com/paste/show/502a34cbd815b
SGalleryImageCategory extends DataObject : http://sspaste.com/paste/show/502a34e690b6bI am thinking the problem is on SGalleryImage ? How can I customize the existing griedField or/and change it to CheckBox ?
- I Need a tab where I can add more categories
- I need each SGalleryImage to have a Checkbox list or dropdownSelect to select which categories the Object is related toIf anyone got the time & can help me out ? this also will work a good tutorial on GriedField
Thanks
| 158 Views | ||
|
Page:
1
|
Go to Top |

