⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

creating menus and sub menus???



jcasanova

jcasanova
  • profile picture
  • Member

Posted 29 March 2014 - 04:33 AM

Hi, I need to create a CRUD that can create a menu (record) and the assign  another record as a submenu 

is it possible with GC?

 

like  a CRUD for menus and sub menus?

 

regards!


victor

victor
  • profile picture
  • Member

Posted 29 March 2014 - 07:16 AM

how do you keep your menu?

jcasanova

jcasanova
  • profile picture
  • Member

Posted 31 March 2014 - 23:50 PM

i'm not keeping them

 

I just need the idea with grocery crud...

 

this is my idea, but I dont know how to build it with Grocery crud

 

A table:

 

id   Name  Parent  Link

 

but when I add an item select if want to be a child of a parent....

 

did I explain myself?

 

 

regards

 

 

 

 

 

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 02 April 2014 - 19:06 PM

Well i will recommend you make a callback and create your own select / dropdown for the same with referring to code from here

http://prabeengiri.com/php/create-nested-categories-inside-drop-down-list-and-breadcrumb-using-single-php-class.html

 

This will show you the mechanism to derive to nested select / dropdown that you can use in the code later.

 

Happy GCing :)


Paul Savostin

Paul Savostin
  • profile picture
  • Member

Posted 21 October 2014 - 12:43 PM

Hi, link above broken - this account has been suspended,  Amit can you share something similar?) anyway thanks