Jump to content
  • 0

Blesta 3.5 Solusvm Module


century1stop

Question

Hello,

 

Sorry for opening a new topic on this issue, but the one in "bugs" section seems to be locked.

 

I've actually change templates to templateskvm in solusvm.php (below)

 

// Return the templates
if ($response && $response->status == "success") {
// Fetch the templates
$templates = $this->csvToArray($response->templateskvm);
$formatted_templates = array();
foreach ($templates as $template) {
// Skip the none template
if ($template == "--none--") {
continue;
}
 
so templates work for KVM but OpenVZ now have that problem, templates not showing.
 
Is there any way to rectify this issue for both KVM and OpenVZ? (plus Xen too of course) 
 
Thanks
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Try using this:

$templates = $this->csvToArray($response->templateskvm);
$templates = $this->csvToArray($response->templates);
$formatted_templates = array();
foreach ($templates as $template) {
// Skip the none template
if ($template == "--none--") {
continue;
}

I'm not a coder myself I can do basics but I think that might run both templates arrays together.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...