Creating package in Concrete 5.7 , controller's view() function is not getting called automatically ?
Permalink 1 user found helpfulI am building a package with concrete 5.7.3.1 and facing issue in controller view() is not being called, But the output from view.php is displaying fine. I have also checked that it is going to controller file but the class function is not called though.
My single page name is icallist
-------------------------------------
Directory structure for it :
=>packages\ical_creator\single_pages\dashboard\ical_creator\icallist\view.php (works)
=>packages\ical_creator\controllers\single_page\dashboard\ical_creator\icallist.php (if i place exit on top it works but when i remove exit class function are not called)
Below is the controller code.
---------------------------------------------------------------
the view function is not called ever ?
Can anyone tell me what i am doing wrong here ?
Thanks for your reply i have made it by using the same tutorial you provided but however i don't get why it dont works,
I have got solution for this anyway the namespace path was defined wrong seems like c5 takes file base on it or soemething.
But anyway thanks for your help.
Thanks. Feel good to here that your problem has been solved. Cheers.:)
http://www.concrete5.org/documentation/how-tos/developers/concrete5...
and
http://www.concrete5.org/documentation/how-tos/developers/concrete5...