Well, i've found out another problem in SugarCRM. When using Skypeout some modules are changing phone numbers to the <a href="call://number">number</a> and when i've opened Accounts Details Info there was a problem with Leads and Contacts Subpanels : something like number" /> before create button. I've found out that there was a form for each subpanel, and in contacts and leads form we got <input type="hidden" name="phone_work" value="phone" /> if Skypeout is OFF. But when we turn on Skypeout function we got <input type="hidden" name="phone_work" value="<a href="call://number">number</a>" />. Bold text is used to show where problem is. I spent about 2 hours and found the solution:
Find file root\include\generic\SugarWidgets\SugarWidgetSubPa nelTopButtonQuickCreate.php
And try to add string: if (strstr($value,"call://") != false) $value = strip_tags($value); before $button definition
Source:
foreach($additionalFormFields as $key => $value)
{
if($key != 'action')
{
if (strstr($value,"call://") != false) $value = strip_tags($value);
$button .= '<input type="hidden" name="' . $key . '" value="' . $value . '" />' . "\n";
}
}
Hope it will help.


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks