CodeIgniter Forums

Full Version: Menu and pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

i am currently develop one site and i do not know how to implement my idea: site will contain pages with something like wordpress' shotcodes and menu with url like below.

My thought is that i should create one controller e.g. Page and library e.g. Menu, but i don not know how to combine them.

Any ideas.

If your creating pages then use the pages slug as the menu name or add a field
to the table for pages in the database for a menu name, then you can associate the
page name with the menu name.
Thank for the help. I will try.