Jump to content

sweta.tests

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by sweta.tests

  1. If you don't have cron tasks, then there is something wrong with your installation. You should check your database to ensure that the `cron_tasks` and `cron_task_runs` tables exists and contain several entries. If there are no entries, data has been lost/corrupt for some reason, and you will likely need to restore from a database backup.

     

    Yes, my 'cron_task_runs' table was empty. I don't how that table lost all data.

  2.     public function getClientTabs($package) {
     return array(
    "tabClientSome"=> array(
                "name" => Language::_("yourmodule.tab_client_yourmodule", true),
                "icon" => "glyphicon glyphicon-someicon",
            ));
    }
    

    As licensecart said, however, from your module .php file:

    blesta/components/modules/yourmodule/yourmodule.php

     

    search for the getClientTabs method and modify each tab as shown above.

     

     

    Thanks.

  3.  

    can you try this

    'OtherEntityType' => array(
             'label' => Language::_("OtherEntityType",true),
             'type' => 'text'
         )
    'OtherEntityTypetooltip' => array(
             'label' => "This Is a tooltip",
             'type' => 'tooltip'
         )
    

    Not working.

     

    giving me error

     

    Call to undefined method ModuleFields::fieldTooltip()

  4. I wan to add extra fields for domain registration. For that i am using as follow

    'OtherEntityType' => array(
             'label' => Language::_("OtherEntityType",true),
             'type' => 'text'
         )

    Is there way by which I can show note(tooltip) below textbox or something like that. Purpose behind this is I want to inform user about when to use this field.

  5. Hi,

     

    I have added extra fields required for domain registration in config files.

    I want to write jquery code for it. i.e if user has selected entity type  = person display fields related to it.

    if(entity = "person"){
     //Show person related fields
    } elseif( entity = "company"){
     //Show company related fields
    }

    Where can I write this kind of jquery code?

  6. You can run cron manually from /admin/settings/system/automation/. If you don't have cron installed (i.e. if you're on Windows) you could use scheduled tasks, or you could use an online service to request the cron url every 5 min.

     

    Yes, I am aware about it. Currently I am running cron manually from admin panel.  But I thought if there is any other way by which I can register domain without runnig cron.

  7. Since you are requiring manual review of orders, then you should head over to [billing] -> [Overview]. If you don't have the Orders widget available on the page, click "Manage Widgets" to add it (drag it to the left). The page will reload with the Orders widget shown, and you can check the box next to the pending order that you want to approve, and mark it as accepted by clicking the "Update Orders" button. Afterward, go to activate the service

     

    I have already followed this step but when I click activate service my domain registration api does not get call.

    My domain cannot be registered without running cron.

    Is there any way to manually activating service?

  8. as soon as you hit activate with the use module box it will call the API and send the information from and to Blesta. But it's best to use the cron but on the order form tick the manual approval box.

     

    use module box checkbox is ticked and it is disabled.

    I am pressing activate button but API is not getting called.

    On the order form the manual approval box is ticked.

  9.  

    If you have your cron setup to run on your server, and you have the Provision Paid Pending Services cron task enabled (it is by default), then paid services will be provisioned by the cron as often as the cron task interval allows (default is 5 minutes).

     

    e.g.

    1. Customer orders domain from the order form
    2. Customer pays the invoice created for that service
    3. <within 5 minutes> Cron provisions the domain with the registrar
    4. Service is active

     

     

    I don't have cron setup. What if I want to manually activate service. Activating service from admin panel is not calling domain registration api of registrar module.

  10. All domains registered from the client panel should be registered at your registrar when paid. If that is not happening then there is something wrong. Do you have any module logs that appear after a client registered a domain?

     

    yes I have module log.

    I think domain registration api of registrar is called from addservice method of registrar module.

    But in my case when I register a domain from admin panel, first "getAdminAddFields" method and then "addservice" method is called.

    But when I registered a domain from client panel only getAdminAddFields method is called and not addservice method.

    So, domain registration method never get called.

  11.  

    If you alredy add the Domain in Blesta->Package in Packages->Browse->Create Package.
     
    Just add the Domain, if you havent alredy added on Blesta->Clients->Browse->[Client ID]->[services]->New Service, select the service to add, and on the status select "Active" and do not select "Provision using the xxxx module", and "Continue"

     

     

    Following this steps register my domain from admin panel. But if client has created service for domain(i.e.service has been created from client panel) how can it be registered?

     

    Where can I find domain registered from admin panel? It is not available in services of client.

×
×
  • Create New...