Timeline for Ajaxify Menu Links
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 13, 2012 at 7:46 | comment | added | Sumit Madan | @TranHuy This is not working for me. :( | |
Oct 31, 2012 at 18:03 | comment | added | Web Assistant | I got this working by binding the ajax event to the menu items manually. Google "new Drupal.ajax(base, this, element_settings)" | |
Oct 10, 2012 at 11:54 | comment | added | giorgio79 | Can you update this answer on how to create the link? Adding "use-ajax" does not work. | |
Aug 6, 2012 at 17:47 | history | edited | avpaderno♦ | CC BY-SA 3.0 |
improved punctuation, and formatting
|
Jul 26, 2012 at 9:38 | comment | added | Web Assistant | My understanding is this would work using a link with 'use-ajax' class. But how would this work inside a menu? Adding 'use-ajax' does not work for menu items? | |
Jul 26, 2012 at 8:51 | comment | added | Tran Huy | This is my fault on the explain the way we get the second parameter to use ajax. But the above code work well, Drupal hook menu enough smart to understand the second parameter :). You only need put second on case you use. For example, call "yourmodule/callback-page/ajax" link with class 'use-ajax'. | |
Jul 25, 2012 at 21:25 | comment | added | Web Assistant | Does this work? How can the page be in the menu if the type is MENU_CALLBACK. Also, there are two arguments in the page callback but only 1 in the menu item arguments array so the example above will fail. | |
Jul 17, 2012 at 15:31 | vote | accept | kumar | ||
Jul 12, 2012 at 9:45 | history | answered | Tran Huy | CC BY-SA 3.0 |