Closed (fixed)
Project:
DHTML Menu
Version:
6.x-1.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Nov 2007 at 15:38 UTC
Updated:
9 Jan 2008 at 11:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
cburschkaAs doing it without asking the user seems a bit too pro-active, this patch instead adds a "one-click" option that is displayed as a status message on enabling.
1. When the module is enabled, a status message pops up offering the user the choice to "enable DHTML for the main navigation menu". This links to a menu callback.
2. If the user visits the link, the module reads the values of the navigation block (user:1) for all themes, assigns them to the dhtml_menu:navigation block and disables the former. This effectively replaces the navigation block with its DHTML equivalent.
3. The module then redirects immediately to admin/build/block.
This patch adds an .install file for the hook_enable function.
Comment #2
brmassa commentedArancaytar,
code commited. Soon on the next version
regards,
massa
Comment #3
brmassa commented