Module: Jumpmenu
Posted by Maurice Makaay
|
Module: Jumpmenu November 22, 2007 07:21AM |
Admin Registered: 21 years ago Posts: 8,532 |
This module adds a menu to the Phorum pages, which can be used to quickly
select a forum to jump to. Forum folders will be shown as submenus.
This module is a full rewrite of the 5.1 jumpmenu module. You can see it in action at [secretsauce.phorum.org] (hover your mouse over "Jump to forum ..." above the search box).
TODO:
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Edited 13 time(s). Last edit at 08/31/2016 08:08AM by Oliver Riesen-Mallmann.
select a forum to jump to. Forum folders will be shown as submenus.
This module is a full rewrite of the 5.1 jumpmenu module. You can see it in action at [secretsauce.phorum.org] (hover your mouse over "Jump to forum ..." above the search box).
TODO:
- Add options for showing "Private Messages" and "Followed Topics" in the top level popup.
Changelog:
---------
2016-08-31 v1.2.2 by Oliver Riesen-Mallmann <oliver@riesen.org>
- Made XHTML 1.0 Transitional compliant.
2015-09-18 v1.2.1 Oliver Riesen <oliver@riesen.org>
- Bugfix for special characters in forum name.
- Outdated rel attribut removed.
2011-01-14 v1.2.0
- Updated the module to make use of jQuery for the javascript code.
- Fixed various issues that could cause incorrect placement of the
jumpmenu menus.
- Added new German language files by Oliver Riesen.
2009-05-24 v1.1.9
- Added compatibility for using the jumpmenu within a vroot.
- Added a German translation by Oliver Riesen and a French
translation by Manu. Thanks guys!
- Replaced the CSS :hover classes with scripted highlighting
code. As a result, we were able to visualize the path that the user
followed in the jumpmenu, by keeping selected entries in higher
menu levels active. This behavior matches the behavior that one
can observe by default in OS menus.
2008-11-08 v1.1.8
- Fixed the rendering of the popup menu with extra options for
MSIE. In MSIE, the separator was pushing the menu to full screen
width, which is not too practical for a menu.
- Fixed bug: when hovering over the separator, the menu code did
not detect that the pointer was still on the menu and closed the
popup menu after a little while.
2008-11-08 v1.1.7
- Added a hook "jumpmenu_add" to the module, which can be used by
other modules to add extra items to the root level popup of
the jump menu. The first implementation of an extra menu item
has been added to the Recent Messages module.
2008-04-15 v1.1.6
- Added a module template for the "classic" Phorum template.
2007-12-14 v1.1.5
- Fixed a problem with the jumpmenu for cases where no forums are
visible at all for the visitor (for example in case all forums are
restricted for reading by their permissions).
Thanks to Steve Healy for reporting the problem.
2007-11-26 v1.1.4
- Some improvements in the javascript library for positioning the
menus in case the root node is inside an "absolute" or "relative"
positioned element (thanks to Matthias for having a site design
that broke my code and for taking the time to test out a *lot*
of new test versions to fix that ;-).
2007-11-22 v1.1.3
- Empty folders are no longer shown in the menu.
- If hovering over a forum menu item, the submenus below the
folder in which the forum menu item resides will be collapsed.
- Fixed some JavaScript errors that occurred when hovering over the
menu during page unloading.
- Implemented an <iframe> (yech!) based work around for letting the
menus cover windowed elements in MSIE (like <select> lists, which
would otherwise always be on top of the menus).
2007-11-02 v1.1.2
- Implemented the new css_register and javascript_register hooks
This requires for Phorum 5.2.2 or newer.
2007-10-23 v1.1.1
- Added Turkish language file.
Thanks to Serdar of paticik.com.
2007-10-08 v1.1.0
- Full rewrite of the old jumpmenu. The jumpmenu now makes use of
javascript driven menus with submenu's to display folders.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauceEdited 13 time(s). Last edit at 08/31/2016 08:08AM by Oliver Riesen-Mallmann.
|
Re: Module: Jumpmenu November 25, 2007 08:27PM |
Admin Registered: 21 years ago Posts: 8,532 |
Uploaded version 1.1.4 of the module, which fixes some problems with positioning the menus in case the root node is within an absolute or relative positioned element. If you tried the module and the menu's did not show up or were visible at the wrong spot, then this might fix it for you.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: Jumpmenu December 12, 2007 07:44PM |
Registered: 22 years ago Posts: 238 |
I am trying to use this module with 5.2.2 and a slightly modified template, based on emerald. I don't think I've changed anything that would affect this, but who knows?
The module seems to work fine on list.php and read.php.
On index.php, where the breadcrumbs disappear, the jump menu "jumps" to the left side where the breadcrumbs would be, and all the links appear at the bottom of the page, without the javascript menus.
On login.php, it displays the word "Array" at the bottom of the page. This may be due to the fact that all of my forums are private, and so if you're not logged in there are no forums to jump to.
Here is a snippet of the html from login.php with "Array" in it:
Edited 1 time(s). Last edit at 12/12/2007 07:56PM by stevehealy.
The module seems to work fine on list.php and read.php.
On index.php, where the breadcrumbs disappear, the jump menu "jumps" to the left side where the breadcrumbs would be, and all the links appear at the bottom of the page, without the javascript menus.
On login.php, it displays the word "Array" at the bottom of the page. This may be due to the fact that all of my forums are private, and so if you're not logged in there are no forums to jump to.
Here is a snippet of the html from login.php with "Array" in it:
</form>
</td>
</tr>
</table>
</div>
Array
<script type="text/javascript">
//<