I am developing my own slideshow component and module for Joomla. The component is used to select the slides along with captions and links etc. The module shows the slides.
In the component, for each slide I have enabled the option to add a link to each slide. The field type that I have used is the menu item field type http://docs.joomla.org/Menuitem_form_field_type
This seems to add the menu item id to the database for that particular slide.
My question is; how do I take this menu item id and then in the module use it to get the full menu item link? I will understand that I will probably have to search through the database to find the right menu item and then find the appropriate link but I am not quite sure where to start.
If anyone could point me in the right direction I would appreciate it.
Thanks :)