sweta.tests
-
Posts
36 -
Joined
-
Last visited
Posts posted by sweta.tests
-
-
Previously I was running cron manually at that time it was showing cron task configurations with checkbox in Settings>System>Automation.
But now it is not showing those tasks with checkbox.
-
Hi,
Compnay->automation shows "There are no cron tasks.".
What can be wrong with auomation tasks?
-
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.
-
Depends on the module / plugin.
I am using domain registrar module.
-
Edit the module's view files. /components/modules/(Name)/views/default/
Or edit the plugin's view files. /plugins/(Name)/views/default/
Which files? I want to update icons of tabs.
-
Hi,
How can I change default icon(settings icon) which is displayed on client side tabs added using module?
-
Hi,
Is it possible to display tabs on client panel specific to tld?
i.e Do not display Domain registrar lock tab for domain that does not support this feature. But show it for other domains.
-
as i told you before, in registration template file under order plugins .
I am trying to create module.
If I will do anything in plugins it will be applied to only my blesta version and will not work for others who will use my module.
-
Normally you should ad your code the order template file (registration template) .
have you tried my css & javascript toolbox plugin ?
I cannot use your plugin.
Can I add code to config file or somewhere else.
-
I have created one config file and added code in that file.
Configure::set("domain_fields.us", array( 'OtherEntityType' => array( 'label' => Language::_("OtherEntityType",true), 'type' => 'text' ) )
-
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()
-
You can show a tooltip or placeholder.
'OtherEntityType' => array( 'label' => Language::_("OtherEntityType", true), 'type' => 'text', 'attributes' => array( 'title' => "Tooltip", 'placeholder' => "Placeholder" ) )
placeholder is working but tooltip is not working
-
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.
-
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?
-
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.
-
Not without modifying the core files. Is there a reason why you can't run cron?
I am using blesta on local system.
and cannot setup cron on local system.
-
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?
-
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.
-
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.
- Customer orders domain from the order form
- Customer pays the invoice created for that service
- <within 5 minutes> Cron provisions the domain with the registrar
- 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.
-
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.
-
But how can i register domain to registrar for domains added as service from client panel?
-
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.
-
Thanks. it has been solved now.
Can Any body tell me when domain registration api from registrar module is called?
That is When I am activating service on that time domain register api from registrar module is called or from some where else?
-
Licensecart but if i don't place domain group to assigned group and use template other than "Standard" than it shows me error "The selected template requires at least one package group."
Cron Configuration
in Support
Posted
Yes, my 'cron_task_runs' table was empty. I don't how that table lost all data.