PHPackages                             hypejunction/menus\_dropdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hypejunction/menus\_dropdown

AbandonedArchivedElgg-plugin

hypejunction/menus\_dropdown
============================

Dropdown Menu for Elgg

2.0.0(9y ago)01351GPL-2.0JavaScriptPHP &gt;=5.5

Since Jan 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/Elgg-menus_dropdown)[ Packagist](https://packagist.org/packages/hypejunction/menus_dropdown)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-menus-dropdown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (1)

Dropdown Menus for Elgg
=======================

[](#dropdown-menus-for-elgg)

[![Elgg 2.3](https://camo.githubusercontent.com/8452daaef3ea7320843e9a5473e44a80e23ec99b34525f2c9bbf8c83ccad0cd6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e332d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8452daaef3ea7320843e9a5473e44a80e23ec99b34525f2c9bbf8c83ccad0cd6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e332d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

Features
--------

[](#features)

- Turn any child menu into a dropdown by simply adding `elgg-menu-item-has-dropdown` to the parent item class

Usage
-----

[](#usage)

To convert child menus to dropdown menus, simply add `elgg-menu-item-has-dropdown` class to your menu item. Whenever a parent menu item is clicked, child menu will appear in a hover menu

```
elgg_register_menu_item('entity', array(
	'name' => 'parent',
	'href' => '#',
	'text' => 'Parent item',
	'item_class' => 'elgg-menu-item-has-dropdown',
	// controls the position relative to the trigger
	'data-position' => json_encode([
		'my' => 'right top',
		'at' => 'right bottom+5px',
	]),
	// popup appear in a fixed position and detached from the original DOM position
    // you can add an additional class to have more control over styling
	'data-popup-class' => 'elgg-menu-entity-popup',
	'data-collision' => 'fit fit',
));
elgg_register_menu_item('entity', array(
	'name' => 'child',
	'parent_name' => 'parent',
	'href' => '/child',
	'text' => 'Child item',
));
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~131 days

Total

4

Last Release

3361d ago

Major Versions

1.0.2 → 2.0.02017-02-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (11 commits)")

---

Tags

pluginuielggdropdownmenus

### Embed Badge

![Health badge](/badges/hypejunction-menus-dropdown/health.svg)

```
[![Health](https://phpackages.com/badges/hypejunction-menus-dropdown/health.svg)](https://phpackages.com/packages/hypejunction-menus-dropdown)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
