![]() |
Announcing Bonfire - A jumpstart for your web apps - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Announcing Bonfire - A jumpstart for your web apps (/showthread.php?tid=40089) |
Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]SmitRay[/eluser] Thanks bro Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]theprodigy[/eluser] I just cloned a copy tonight, figured I would try it out. Everything looks cool, but I noticed a small issue with your ToDo List tutorial. Your tutorial says: Quote:Create a new file under todo/models called Todo_model.php. The file should look like...I had to rename the file to todo_model.php (lower case name) to get it to work. It was giving me an error that it couldn't find the file with the first letter upper-cased. Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]theprodigy[/eluser] Another thing I noticed: Your code in the tutorial is passing the $_POST array, and using it to insert into the db. Nothing you do while using form_validation is being done other than required. Code: public function index() Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]theprodigy[/eluser] One quick question. I went through the tutorial, and go the ToDo backend setup. I tried to create the front-end, and ran into a small issue. Steps I took: 1. Created todo.php controller in modules/todo/controllers directory. 2. Put the following code into the todo controller Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 4. Put the following code inside the index.php view file: Code: <?php if (isset($items) && is_array($items) && count($items)) : ?> 6. Recevied the error: 'Unable to locate the file: todo/index.php' (The base template is rendering, but not the content for the template - see screenshot) Can you please let me know where my error is? So far, this app looks pretty cool. You can tell you've put quite a bit of work into it. Although maybe a little docs on creating front-end views would be good too (for people like me ![]() Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]Basketcasesoftware[/eluser] Actually he's looking for refinement suggestions on the docs and peoples' experiences installing and using it. This is supposed to a community project. So far he's been doing almost all the heavy lifting though. I have a few quibbles, but overall it's a excellent extension to the CI framework. Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]theprodigy[/eluser] [quote author="Basketcasesoftware" date="1306742751"]Actually he's looking for refinement suggestions on the docs and peoples' experiences installing and using it. This is supposed to a community project. So far he's been doing almost all the heavy lifting though. I have a few quibbles, but overall it's a excellent extension to the CI framework.[/quote] You're right, it is an excellent addition, and I hope I didn't come across as negative, or complaining. It wasn't my intention. I was just pointing out a few areas where the tutorial was giving incorrect information. If need by, I can fix those areas and submit them to the github repo. Also, Basketcasesoftware, since it seems like you have had a little experience using this, could you help me out with my third posting, which is actually a question? Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]Basketcasesoftware[/eluser] @theprodigy - I've had a LOT of experience with it so far. %-P I'm trying to sort through your description of the problem now. What I've seen so far SHOULD be working, but I'm probably missing something. What are you using to run it? XAMPP? LAMPP? WAMPP? MAMPP? Doh! :ohh: I see it now. If I read it right you put your view file in modules/todo/views/todo Am I right? If so, knock of that last "todo" in your path. The view file should be at modules/todo/views Announcing Bonfire - A jumpstart for your web apps - El Forum - 05-29-2011 [eluser]theprodigy[/eluser] [quote author="Basketcasesoftware" date="1306745458"]@theprodigy - I've had a LOT of experience with it so far. %-P I'm trying to sort through your description of the problem now. What I've seen so far SHOULD be working, but I'm probably missing something. What are you using to run it? XAMPP? LAMPP? WAMPP? MAMPP? Doh! :ohh: I see it now. If I read it right you put your view file in modules/todo/views/todo Am I right? If so, knock of that last "todo" in your path. The view file should be at modules/todo/views[/quote] Thanks! That fixed it. I was under the assumption that it was setup as Quote:views/[controller_name]/[function_name].phpbut I guess it doesn't work that way for the public-facing side. And to answer your first question, I am using just straight LAMP (Ubuntu machine, with Apache, MySql, and PHP installed), not any package software. |