Hi All,
Sugar version 5.5
PHP version 5
Mysql version 5.0.51a
I have a problem, I don't know why my directory within the logic_hooks.php file not accessing its directory.
I made sure to copy the exact directory on the server.
logic_hooks.php Code:
The logic hook file is being called as it is echoing onto the screen.PHP Code:<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not a Vaild Entry Point');
$hook_version=1;
$hook_array= Array();
$hook_array['after_retrieve']= Array();
$hook_array['after_retrieve']= Array(1, 'SalaryCustomFunction', 'custom/modules/moduleName/fileName.php', 'SalaryCustom', 'SalaryCustomFunction');
echo "LogicHook ";
//this is echo out on the screen
?>
The fileName.php code:
None of the code within readVacation.php file is being called. This is my confusion.PHP Code:<?php
//code goes here
?>
Any ideas why????
Thanks![]()


LinkBack URL
About LinkBacks





Reply With Quote

Bookmarks