I love the idea of this. I’m fairly new to CodeIgniter and I was wondering the following:
I have made my own template for normal users, but I want admin users to use a total different template, how can I accomplish this? For example if it’s an admin user they get redirected to /admin (with it’s own template) and normal users to /main
I love the idea of this. I’m fairly new to CodeIgniter and I was wondering the following:
I have made my own template for normal users, but I want admin users to use a total different template, how can I accomplish this? For example if it’s an admin user they get redirected to /admin (with it’s own template) and normal users to /main
It is not supported yet at this time. Unlike other CodeIgniter based CMS (such as pyrocms and bancha), I believe privilege is not just about “admin” or “normal user”. So that I make the same template for “admin” and “normal user”. Only their authorization differ their access privilege (some pages can only be accessed by authenticated user, some others can only be accessed by certain group users). I try to avoid make the same module twice (some other CMS called it as backend and frontend).
But If what you mean is just about template, I’m sure it is not hard to be implemented.
Thanks for your suggestion.
Once it is finished, you can make your own “admin” template by accessing themes/neutral/views/layouts and make your own “default_backend.php”. I’ll let you know when I’ve finish implement your suggestion. Stay tune
@mbuurman : I’ve do some little changes. For already login user, “default_backend” layout would be used, for normal visitor, “default” layout would be used.
For now only header are different, but you can costumize the template by yourself.
Maybe you will like to edit /themes/neutral/views/layouts/default_backend and /themes/neutral/views/partials/default_backend/*
@mbuurman : I’ve do some little changes. For already login user, “default_backend” layout would be used, for normal visitor, “default” layout would be used.
For now only header are different, but you can costumize the template by yourself.
Maybe you will like to edit /themes/neutral/views/layouts/default_backend and /themes/neutral/views/partials/default_backend/*
@mbuurman : I’ve do some little changes. For already login user, “default_backend” layout would be used, for normal visitor, “default” layout would be used.
For now only header are different, but you can costumize the template by yourself.
Maybe you will like to edit /themes/neutral/views/layouts/default_backend and /themes/neutral/views/partials/default_backend/*
The posts are in Indonesian, basically Ibnoe just want me to improve login redirection and $this->view
Since I don’t finish the documentation yet, I provide how to use $this->view method by using example.
Open CMS Management | Module Management
Install example module
Look arround….
I hope this new feature will be useful in your project if you use No-CMS
I really don’t think EllisLab will like you using their logo like that.
Hi Phil, glad to see you giving comments. I really inspired by your pyrocms, that is a great CMS. I even still use your template library, it helps me a lot.
About the logo, If I change the “fire” color (become darker or even black), will it be okay?
I don’t have any bad purpose by using their logo. I want everyone know that No-CMS is based on codeIgniter by only looking at its logo.
Thank you for your “warning”, I will be happy to have your reply
EDIT : I’ve also contacted Derek Jones, since it is a very important issue, and I don’t want to violate anyone’s copyright.
Good idea talking to Derek. I wrote this as one guy giving another guy a heads up, I am not an EllisLab employee nor am I a lawyer, but there are some rules about using other peoples logos and I’m not sure CIBonfire is following the rules either.
Wether or not EllisLab care is up to them, but I think you are probably going against the 2.x license.
Good idea talking to Derek. I wrote this as one guy giving another guy a heads up, I am not an EllisLab employee nor am I a lawyer, but there are some rules about using other peoples logos and I’m not sure CIBonfire is following the rules either.
Wether or not EllisLab care is up to them, but I think you are probably going against the 2.x license.
Yeah, I know you’ve a good purpose. Since it is my first open source project, I might not aware of some issues. And it is good to have someone tell me how to stay away from problems.
I’ve search arround, but I can’t find any rule about how to use (or not use) CodeIgniter logo. I still wait for Derek’s reply right now. Right now I start to think about the new logo (in the case of Derek doesn’t reply or he say that I violate the rule)