I'm developing a CMS, which its hierarchical menu/navigation is a combination between pages and tree menu, just like code below:
<ul>
<li><a href="page.php?id=1">About</a></li>
<li><a href="#">Services</a>
<ul>
<li><a href="page.php?id=2">Plumbing</a></li>
<li><a href="page.php?id=3">Decoration</a></li>
<li><a href="page.php?id=4">Demolition</a></li>
</ul>
</li>
<li><a href="page.php?id=5">Clients</li>
<li><a href="page.php?id=6">Contact</li>
</ul>
Because the menu changes from time to time (as the user/admin would like to add or delete menus). So far, if a user/admin add a menu I'm using this HTML code below:
Menu name: <input class="text" name="menu_name">
If this a page, please include this page link, or let it empty if it's not a page:
<input class="text" name="page_link">
Is this the best solution?
A note: users/admins are not very Internet/computer savvy. No working knowledge using CMS like Wordpress before. I'm also afraid they don't know how to copy link text from browser :)
