I am creating a custom Survey package which has questions module , answers module and a third module named survey which has to be used to relate the question_id with the answer_id that was selected by the user.[theres a reason why these three different modules were created]
Now the questions and answers have one to many relation with survey module, I dont want to show any of the subpanel,list,edit , create or popup( all those views that exists by deafult) views for survey module and want to use the chart dashlet to show the survey result.
Can anybody tell me how can I disable all the views for survey module ?
I hope my question is clear to everyone.
Regards,
Anand Joshi
You should be able to go into the custom/modules/{Survey_Directory} and create a controller.php – in that controller.php file you can override the the actions like so.
Setting the view to null will remove the layout and everything, creating a blank method will render the layout but omit the actual views. You could throw some code in the controller to handle a redirect if you wanted to keep people out all together.
Some common actions though are:
Hopefully that helps get you started.