[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Field names different to Display Name RSS feed
Forum Index » tcMenu Designer UI
Author Message
millab


Joined: Aug 7, 2019
Messages: 5
Offline
Hi! I've found if I have the same name for a menu item in different submenus, they conflict. Is it possible to specify a unique field name per item?

Also just wondering if you can read / set variables based on ID rather than the field name?

Thanks!
davetcc


Joined: Jan 19, 2019
Messages: 532
Offline
Another option would be on hitting conflicts the designer would switch to a variable name with the submenu name included.

For example for a submenu called sub and an item called tone: menuSubTone

I don’t think this would be too much work. Let me know if you think that would work.
millab


Joined: Aug 7, 2019
Messages: 5
Offline
That would be perfect thanks!
I think it would be good to be hard-coded that way, not just in the event of conflicts
davetcc


Joined: Jan 19, 2019
Messages: 532
Offline
Please could you comment on this issue request. Your feedback on this would be useful:

https://github.com/davetcc/tcMenu/issues/53
davetcc


Joined: Jan 19, 2019
Messages: 532
Offline
V1.3.3 was released today. There's now an option on the generator to ensure all items are fully qualified.
millab


Joined: Aug 7, 2019
Messages: 5
Offline
Awesome thanks, that works as expected.
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.