Hi,
Sorry for another question but as you might have guessed I am assigned with the job to update our plugins to work with current whm versions.
One of the problems that we face with the new version is that when we click on out plugin link under the plugin sections it opens a new window rather than just showing the content on the right panel as it used work before.
I did some search and it seems there is a new option under appconfig config file for target which we should set it to _self.
The problem here is that when we do that and register the plugin again, the plugin content still doesn't show on the right section. What happens this time is that it just overrides the current tab with the content which is not the desired outcome.
I checked CageFS plugin which opens on the right panel without any problem and this is my finding:
1. They use target=_self too
2. The content that comes back from their plugin also includes the whm menus and everything. (I checked that by right clicking on the link and having it opened in a new tab)
So my question is, is there something that is missing in the document? Are we supposed to send back the whole whm content as a part of our plugin output?
And if yes how? (We use Golang for our CGI development)
Sorry for another question but as you might have guessed I am assigned with the job to update our plugins to work with current whm versions.
One of the problems that we face with the new version is that when we click on out plugin link under the plugin sections it opens a new window rather than just showing the content on the right panel as it used work before.
I did some search and it seems there is a new option under appconfig config file for target which we should set it to _self.
The problem here is that when we do that and register the plugin again, the plugin content still doesn't show on the right section. What happens this time is that it just overrides the current tab with the content which is not the desired outcome.
I checked CageFS plugin which opens on the right panel without any problem and this is my finding:
1. They use target=_self too
2. The content that comes back from their plugin also includes the whm menus and everything. (I checked that by right clicking on the link and having it opened in a new tab)
So my question is, is there something that is missing in the document? Are we supposed to send back the whole whm content as a part of our plugin output?
And if yes how? (We use Golang for our CGI development)
Last edited: