CodeIgniter Forums
dynamic menu with codignator - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: dynamic menu with codignator (/showthread.php?tid=860)



dynamic menu with codignator - code_help - 01-23-2015

Hi,,

I am new in codignator. Just playing with MVC . And now i need few suggestion , on dynamic menu ?

So, my code is HTML . How can i turn it dynamic?

There is my HTML Code :
Code:
<div class="mainmenu">

<ul id="nav">
<li><a href="">Home</a></li>
<li><a href="">Home</a>

<ul> <li><a href="">Home</a></li>
<li><a href="">Home</a></li>
<li><a href="">Home</a></li>
</ul>
</li>
<li><a href="">Home</a></li>
</ul>
</div>
Please suggest me - 1> Should i make a new database for storing my menu?

If then , how can i pull it from controller and make link to my different pages ?? Also need to know.. if i want it for multilingual then , how can i call it for different languages?
Can any one refer me complete tutorial or any resource for this..?

Thanks for your time.
Regards


RE: dynamic menu with codignator - code_help - 01-24-2015

After searching lot of resources finally i able to make it. I make my own dynamic library. And its dynamically comes from database..
You can grab this code from github..

https://github.com/hassann201/Egenius_Dynamic_Menu

Thanks


RE: dynamic menu with codignator - Avenirer - 01-26-2015

It would be nice, whenever you use a tool, to know its name: is CodeIgniter. Smile


RE: dynamic menu with codignator - code_help - 01-28-2015

Thanks Avenirer I just visited your blog. Its clean and well resourses.

Have a nice day!