Hi! Great addon - thanks!
I am using it in 1.0.8.20 - But I don't like to overwrite the original hMenu - so I renamed to vMenu. I also added a function so I can switch from hMenu to vMenu. I am aware your code can switch between original horizontal and vertical - but for development purposes I need te be able to switch the files.
I added this function to your file:
Code: Select all
public function get_switch_value() { // ADDED
global $use_switch;
$use_switch = true; /// sets use of vMenu or hMenu
return $use_switch;
} Code: Select all
public function listen_injectBodyStart() {
global $use_switch;
if($this->get_switch_value() == true){
Code: Select all
public function listen_injectBodyStart() {
global $use_switch;
if($use_switch == false){ // ADDEDIs there another way to do this?
Thanks!