Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add custom fields to drupal navigation menu without breaking the version

Is it possible to add custom fields to drupal navigation menu (besides title and description)?
I want to keep the version without breaking it.

like image 684
fatnjazzy Avatar asked Nov 19 '25 23:11

fatnjazzy


1 Answers

There's a module for that. Menu attributes: http://drupal.org/project/menu_attributes .This module specify some additional attributes for menu items

If you need a more complex solution, you can reuse the code of menu attributes and write your custom fields.

like image 140
mordonez Avatar answered Nov 22 '25 03:11

mordonez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!