My Ultra Admin Goal [issue #1] -> editing multiple blog posts at the same time - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: My Ultra Admin Goal [issue #1] -> editing multiple blog posts at the same time (/showthread.php?tid=9222) |
My Ultra Admin Goal [issue #1] -> editing multiple blog posts at the same time - El Forum - 06-17-2008 [eluser]Dagobert Renouf[/eluser] Hello guys, hope you're doing great right now (I do care). I'm in the process of creating my first web-app (ehhhaaaa) with C.I, as it's ambitious i'm running into numerous problem. The project is an ultimate blog system, that will become a great basis for future projects of mine. Here's the first thing I want to ask about it : My blog_post admin controller display posted articles with a checkbox next to it. The user can then check some and choose an action (currently edit and delete) to do with all items; as I already handled the delete part, I wonder how I can create a function in my blog_post controller that would allow the user to edit in the same time all the selected blog posts. I already tried a few solutions of mine, but I must say I'm still a mediocre developer, so it wasn't very efficient. Below I show you the "add" code to add an article, I believe the "edit" function will be much of the same thing, but I didn't manage to put things right (as the main issue is to handle multiple articles editing at the same time). Code: function add() I hope you'll be able to help me out with this, also feel free to comment my add code, I'm sure it sucks somewhere :-D. |