Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
disabling default features best practices
#1
My plugin replace the standard menu editor in a similar way the i18n plugin does (I guessed, didn't look at the code yet maybe he does it in a much cleaner way, jsut looked at the generated page and the menu editor link is still there so I supose he does just the same), that is by javascript jquerying a disappereance of the default menu entry though its html id.

Is there a standard way to disable standard features other than javascript-hacking the dom properties ?
This is not mandatory for my plugin to work, so maybe it is considered bad practice too...
Reply
#2
Nope, there is no way

I suppose you could do output buffering between

pages-main and
pages-sidebar

hooks that is

and output your own instead
of course yours will break anytime this is modifed in core probably
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)