Jump to content
Sign in to follow this  
Robert Collins

Define a fields contents as a custom menu item

Recommended Posts

This maybe out of the question but I was wondering if there is a way to use a field's contents as a custom menu list.

The idea I had in mind was to have in my database a custom menu called "web links" - I have a table with a list of website URLs and when a new website address is added in the "websites" table , it would automatically appear under the web links menu, then switch to a layout with a webview in it.

Any ideas would be welcome.

thanks

Share this post


Link to post
Share on other sites

You can dyanmically name a menu item with a field's value but I dont think that you can create a menu based off a set of records. I dont think this is possible even with a plugin.

Share this post


Link to post
Share on other sites

Interesting concept Stuart, but it still wouldnt be dynamic because one would still have to manually create each menu item. What happens if records are added. I like your method though. :) Also what is the extend () for?

Share this post


Link to post
Share on other sites

opps first version that i did was with a repeating field forgot to remove this.

Its dynamic in so much as it updates dynamically.

But as it is not currently possible to dynamically create Menubar items i see no reason why deciding how many to display is not a good alternative.

Personally i would not want to leave myself open to a Menubar Submenu with an unlimited number of records displayed upon it. (as in the requested example). I'd probably limit my recent history to about 30 as at that point you may as well just be looking at the table itself.

I can think of a million applications for dynamically created menu items. Just don't think the requested method would be a good idea even if it was possible in the current version of FMP.

My users have thousands of websites in there databases.

Just a thought.

Share this post


Link to post
Share on other sites

Its still a good demo. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.