2011 Posts in 1436 Topics by 620 members
|Go to End|
13 February 2009 at 4:13am
I want to migrate the webpage of my hockeyclub to Silverstripe. Since we have special subsites for each of our teams, I wanted to write a module to manage them. For displaying and adding I took a ComplexTableField but I can't get it to work properly. I alwas receive the following error: "Action 'Players' isn't allowed on class TeamManagementAdmin" if I try to show/edit a member.
I've tried to find my error for some days but I just don't have a clue, what I am doing wrong.
It would be nice if you guys could look through my code and tell me what mistake I have done. I develop under Silverstripe 2.3 rc2
13 February 2009 at 4:49am
Please post all your relevant code.
13 February 2009 at 5:32am Last edited: 13 February 2009 5:36am
13 February 2009 at 2:03pm
For security reasons SilverStripe only allows certain actions. So you can define an $allowed_actions on TeamManagementAdmin
static $allowed_actions = array(
13 February 2009 at 6:35pm
but now I get the following error message: I can't handle sub-URLs of a TeamManagementAdmin object.
What can I do about that?
9 July 2009 at 5:49am
Have you resolved the problem? If yes, how?
17 July 2009 at 10:38am
did you resolve your issue? I am currently looking for a solution of the same problem. IÂ´m not sure how to handle the actions of the ComplexTableField (e.g. .../trainingschedule/EditForm/field/Training/item/238/edit) correctly. I was looking for special functions like item() oder Training() but I never wrote one of them and did not find anyone.
I think, there is a little issue in handling the actions but I donÂ´t know where.
|Go to Top|