Search the Community
Showing results for tags 'blesta module'.
-
Hi, Can I ask if the module still working? I'm planning to resell from DO but not sure if it works since the last update was nearly a year ago. If it does work, I will buy Blesta license and use it right away. Some confirmations would be perfect!
-
Hi, In the home page of the module, i list all the server with it's details. It has an edit link. When clicking it, it's taking me to a form to edit those server details, but i can't see the already existing details of the server. the url of the edit page is http://mydomain.com/index.php/admin/settings/company/modules/editrow/7/5/, where mydomain.com is blesta server domain. Code snippet is below public function manageEditRow($module_row, array &$vars) { // Load the view into this object, so helpers can be automatically added to the view $this->view = new View("edit_row", "default"); $this->view->base_uri = $this->base_uri; $this->view->setDefaultView("components" . DS . "modules" . DS . "snomone" . DS); // Load the helpers required for this view Loader::loadHelpers($this, array("Form", "Html", "Widget")); $this->view->set("vars", (object)$vars); return $this->view->fetch(); } View <?php $this->Widget->clear(); $this->Widget->setLinkButtons(array()); $this->Widget->create($this->_("Mymodule.edit_row.box_title", true)); ?> <div class="inner"> <?php $this->Form->create(); ?> <div class="title_row first"> <h3><?php $this->_("Mymodule.edit_row.module_title"); ?></h3> </div> <div class="pad"> <ul> <li> <?php $this->Form->label($this->_("Mymodule.add_row.server_label", true), "server_label"); $this->Form->fieldText("server_label", $this->Html->ifSet($vars->server_label)); ?> </li> <li> <?php $this->Form->label($this->_("Mymodule.add_row.ip_address", true), "ip_address"); $this->Form->fieldText("ip_address", $this->Html->ifSet($vars->ip_address)); ?> </li> <li> <?php $this->Form->label($this->_("Mymodule.add_row.port", true), "port"); $this->Form->fieldText("port", $this->Html->ifSet($vars->port)); ?> </li> <li> <?php $this->Form->label($this->_("Mymodule.add_row.username", true), "username"); $this->Form->fieldText("username", $this->Html->ifSet($vars->username)); ?> </li> <li> <?php $this->Form->label($this->_("Mymodule.add_row.password", true), "password"); $this->Form->fieldText("password", $this->Html->ifSet($vars->password)); ?> </li> </ul> </div> <div class="button_row"><a class="btn_right submit" href="#"><?php $this->_("Mymodule.edit_row.add_btn"); ?></a></div> <?php $this->Form->end(); ?> </div> <?php $this->Widget->end(); ?> Form is coming without any values in it, why it's so? Can anyone help me?