Closed daanporon closed 12 years ago
Are we going to do it this way by specifying a template to add custom actions .. or should we configure the actions in code, so that we get an array of all the actions and we can update them ... I think this way gives us much more flexibility, the only problem is we can only add other actions at the end. Anyone who prefers the other way or would use another way?
We could also give a weight so you can control the actions a bit, so when you add an action with weight -1 it should be the first action.
yes, but then we should move to configuring it in code in stead of with templates
this needs to be done using template helpers etc. first we need to check how knpMenuBundle does this things ...
This needs to go higher on the priorities list.
i refactored this into using knpMenu, still needs some more testing. I also want to check if the folder structure is correct. Maybe we need to make some guidlines in how the folder structure will work in the Kunstmaan Bundles. Also the items need to be translatable
Je moet wel unit tests toevoegen. Elke methode moet je op zijn minst "aanroepen" in de test zodat we weten of het nog werkt als we iets veranderen. Bv typing ergens ooit.
btw, er is een skeleton generator, kom even vragen
Possibility to add extra sub actions on top of the page. For now we'll use this to show a link to the form submissions on top of the page. See https://github.com/Kunstmaan/KunstmaanFormBundle/pull/32