![]() |
CodeIgniter Demo Weblog - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Spotlight (https://forum.codeigniter.com/forumdisplay.php?fid=16) +--- Thread: CodeIgniter Demo Weblog (/showthread.php?tid=64533) |
CodeIgniter Demo Weblog - Code4fun - 03-01-2016 I've created a demo weblog here. Features
Cheers ![]() RE: CodeIgniter Demo Weblog - cartalot - 03-01-2016 this looks great thanks for posting. RE: CodeIgniter Demo Weblog - Code4fun - 03-02-2016 (03-01-2016, 03:11 PM)cartalot Wrote: this looks great thanks for posting. Thanks, cartalot. RE: CodeIgniter Demo Weblog - Paradinight - 03-05-2016 (03-01-2016, 07:08 AM)Code4fun Wrote: I've created a demo weblog here for new developers of the CodeIgniter Framework. Take a look! Misuse of base_url(). If you use the parse method, do not put any php code in the view. RE: CodeIgniter Demo Weblog - Code4fun - 03-05-2016 (03-05-2016, 02:53 AM)Paradinight Wrote: Misuse of base_url(). Good observation. I'm totally new with this parser stuff and the demo is a bit of a mix because of the crud example. Otherwise removing the base_url breaks the design. What do you suggest? RE: CodeIgniter Demo Weblog - Paradinight - 03-05-2016 Change the css and js code to variables. In you my_controller, you can put methodes that add js/css. In the render() methode you can set the js and css variables. RE: CodeIgniter Demo Weblog - Code4fun - 03-05-2016 (03-05-2016, 04:58 AM)Paradinight Wrote: Change the css and js code to variables. In you my_controller, you can put methodes that add js/css. In the render() methode you can set the js and css variables. That's possible but the base_url is there for the crud example. If I remove the base_url and move the crud example to a backend then the problem is solved. |