Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 4 online users. » 0 Member(s) | 1 Guest(s) Applebot, Bing, Google
|
Latest Threads |
Finetuning the way you se...
Forum: coreBOS Development
Last Post: alexandy40d
12-06-2024, 07:38 AM
» Replies: 4
» Views: 8,140
|
MariaDB Version
Forum: Administrator Support
Last Post: joebordes
11-01-2024, 11:49 AM
» Replies: 1
» Views: 631
|
Product Catalog / parts c...
Forum: Modules/Extension Support
Last Post: joebordes
09-15-2024, 09:40 AM
» Replies: 1
» Views: 1,108
|
Challenges and Best Pract...
Forum: coreBOS Development
Last Post: wishforbes
08-30-2024, 04:21 PM
» Replies: 0
» Views: 720
|
PRODUCTS IN ACCOUNTS BY O...
Forum: User Support
Last Post: jonathanmoore858
08-03-2024, 04:14 PM
» Replies: 4
» Views: 2,768
|
Zapier | Integration
Forum: Modules/Extension Support
Last Post: bernardgbailey
07-29-2024, 11:45 PM
» Replies: 7
» Views: 9,848
|
Versión PHP recomendada
Forum: International
Last Post: joebordes
07-04-2024, 05:42 PM
» Replies: 7
» Views: 3,331
|
Could Someone Give me Adv...
Forum: Open Discussions
Last Post: joebordes
06-27-2024, 08:32 AM
» Replies: 1
» Views: 1,706
|
RESTRICTED FILE
Forum: Administrator Support
Last Post: inspectorflint
06-22-2024, 08:08 AM
» Replies: 7
» Views: 5,660
|
GENDOC imágenes
Forum: Open Discussions
Last Post: joebordes
06-02-2024, 05:11 PM
» Replies: 4
» Views: 2,038
|
|
|
Error en relacion Assets/Projects |
Posted by: julioval - 12-15-2016, 11:38 AM - Forum: Administrator Support
- Replies (4)
|
|
En un proyecto inserto un campo "relacionado con" los recursos y cuando lo pincho me sale la ventana emergente con el siguiente mensaje:
Fatal error: Uncaught exception 'Exception' with message 'result is not an object' in /var/www/html/cB_XXXXX/include/database/PearDatabase.php:789 Stack trace: #0 /var/www/html/cB_XXXXX/Popup.php(425): PearDatabase->query_result(false, 0, 'count') #1 /var/www/html/cB_XXXXX/modules/Assets/Popup.php(10): require_once('/var/www/html/c...') #2 /var/www/html/cB_XXXXX/index.php(675): include('/var/www/html/c...') #3 {main} thrown in /var/www/html/cB_XXXXX/include/database/PearDatabase.php on line 789
¿Por qué? ¿Qué tengo o hago mal? ¿Cómo lo puedo solucionar?
Saludos.
|
|
|
Adding event handlers to extension modules |
Posted by: Guido1982 - 12-13-2016, 10:19 AM - Forum: coreBOS Development
- Replies (2)
|
|
I was reading the vtlib docs and came accross this code:
Code: <?xml version="1.0" encoding=”utf-8”?>
<module>
<type>extension</type>
<name>MODULENAME</name>
<label>MODULE LABEL</label>
<parent>Tools</parent>
<version>1.0</version>
<dependencies>
<vtiger_version>5.1.0</vtiger_version>
</dependencies>
<tables>
<table>
<name>TABLE-NAME</name>
<sql><![CDATA[CREATE_TABLE_SQL]]></sql>
</table>
</tables>
<events>
<event>
<eventname>EVENT_NAME</eventname>
<classname>EVENT_HANDLER_CLASS</classname>
<filename>EVENT_HANDLER_CLASS_FILE</filename>
<condition><![CDATA[modulename in ['MODULENAME']]]></condition>
</event>
</events>
</module>
Where I see you can add event handlers in the manifest file of an extension module. But we could just as easily do it in the vtlib_handler class method of the main file right? So in modules/MyModuleName/MyModuleName.php I would create:
PHP Code: function vtlib_handler($modulename, $event_type) { if($event_type == 'module.postinstall') { // TODO Handle post installation actions } else if($event_type == 'module.disabled') { // TODO Handle actions when this module is disabled. } else if($event_type == 'module.enabled') { // TODO Handle actions when this module is enabled. } else if($event_type == 'module.preuninstall') { // TODO Handle actions when this module is about to be deleted. } else if($event_type == 'module.preupdate') { // TODO Handle actions before this module is updated. } else if($event_type == 'module.postupdate') { // TODO Handle actions after this module is updated. } }
Where I would do the event handler creation in the postinstall?
|
|
|
Corebos no envía correo de TKT clientes |
Posted by: jvillegas - 12-12-2016, 10:46 PM - Forum: coreBOS Mail
- Replies (3)
|
|
Saludos,
Los correos que le confirma al cliente que su incidencia se recibió no se están llegando al cliente, es decir, un cliente escribe un incidente y el sistema nos les devuelve la confirmación y el número de la incidencia.
Que puedo revisar o como puedo dar solución a este problema.
Gracias
|
|
|
|