create dynamic menu |
[eluser]Mainboard[/eluser]
well, i create a dynamic menu with a db, and this is my code: My model Code: <? My Control (call site.php) Code: function members_area() { And View Code: <?php foreach($menu_enc as $menue): ?> everything works perfect except when I press some button of the menu, automatically returns to my control (site.php) waiting some function, so i want to return to some view, not to my control, so how i can to create a function to return each view in each button?
[eluser]ranjudsokomora[/eluser]
Hello lvasquez, I was going to say that your anchor tag is constructed wrong, however when I tried to fix your example, and preview before I submitted, it screwed it all up... so try emailing me, [email protected], and I would be willing to help you through it.
[eluser]Mainboard[/eluser]
thanks, i send you a email, thanks for your anwser and help
[eluser]Jaketoolson[/eluser]
Codeigniters forum keeps messing me up to when I submit a fix... not sure whats up lol.
[eluser]Mainboard[/eluser]
well, i found this link http://ellislab.com/forums/viewthread/154719/#748768 and this is my solution ![]()
[eluser]John_Betong_002[/eluser]
Try this: Code: My Control (call site.php)
[eluser]Mainboard[/eluser]
i fix the problem, i create another function and works perfect ![]() Code: function call_main($sort_colums = 'link') { |
Welcome Guest, Not a member yet? Register Sign In |