-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loading templete in every file ? #3
Comments
Hello there, you can create a BaseController and then extend it. For example: create a file with name base.php at your controllers like this: https://gist.github.com/scoumbourdis/6417186
Don't forget to add this line of code in order to make it work:
as the above example. What do you think about that? |
well . That's a good idea . but cant we get any functionality in autoload file .Like we load session or grocery crud library in autoload file so we dont have to load it again and again or something like that. |
Actually that's a very good idea. I've added an issue for that as a reminder: #4 . Thanks |
Hello, any process on that yet? |
Not yet :) |
Hi there,
i can send dynamic menu items to template now. |
Do i have to load the template in every controller .... or there is a way that default template is loaded automatically
The text was updated successfully, but these errors were encountered: