On Dec 9, 7:34 pm, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > A little more information about this. I still don't understand the > problem, but it seems that I can link 1 menu item to a menu (or 1 menu > to a menu item, depending on which way I'm trying). As soon as I try > to link the second, though, both records disappear from the linking > table. I've tried this both with and without having an id field in > the linking table with the same result. > > Does that help? I'm going to keep digging, but if anyone has any > thoughts or ideas, I'd love to hear them.
One last thing that looks odd to me, but that could just be my newness to all of this. On my scaffolded edit screen for menu items, the select box code in the form - the one where I can choose the menus to which an item belongs - looks like this: <select name="data[NavMenu][NavMenu][]" multiple="multiple" id="NavMenuNavMenu"> <option value="49178294-f9ac-4bfe-8a1a-0e753b196446">Primary Navigation</option> <option value="4917839a-f064-447d-a492-0e733b196446" selected="selected">Secondary Navigation</option> <option value="491783b0-5ac4-44cf-923a-0e743b196446">Tertiary Navigation</option> </select> Intuitively, it seems like the name and id should reflect NavMenuNavMenuItem, but again, that's just an intuitive guess. Thought I'd throw that out there in case anyone sees any red flags. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
