Welcome Guest, Not a member yet? Register   Sign In
simultaneous scaffolding?
#2

[eluser]Taff[/eluser]
Hey there,
welcome to the forums.
Maybe I misunterstood your question but in the routes you only assign a magic word

Code:
$route['scaffolding_trigger'] = "scaffolding";

Then in your controller you can tell it what table you want to manage:

Code:
<?php
class Blog extends Controller {

       function Blog()
       {
            parent::Controller();

            $this->load->scaffolding('table_comments');
       }
}
?>

will then allow you to edit your table named "table_comments" by going to

Code:
Path/to/site/blog/scaffolding

where scaffolding is the magic word we defined in the routes.php file.
I'm a beginner myself, but hope I understood your question correctly and this helps

More info about scaffolding can be found at http://ellislab.com/codeigniter/user-gui...lding.html

Good luck,
Taff


Messages In This Thread
simultaneous scaffolding? - by El Forum - 05-18-2008, 10:39 PM
simultaneous scaffolding? - by El Forum - 05-19-2008, 01:39 AM
simultaneous scaffolding? - by El Forum - 05-19-2008, 03:15 AM
simultaneous scaffolding? - by El Forum - 05-19-2008, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB