XinSpace

SharePoint, Drupal and Other Random Notes

Browsing the 2010 April archive

yum install mlocate

yum install diffutils.i386

Tagged with

yum -y install pcre-devel

Tagged with

yum install php-devel.i386

Tagged with

echo 1 > /proc/sys/xen/independent_wallclock
ntpdate -b pool.ntp.org
Should detaching from the wallclock resolve this issue, you can make this change permanent by adding the following line to your “/etc/sysctl.conf” file:
xen.independent_wallclock=1
Thanks to Danny@linode

Tagged with , ,

if you need access other fields in your field template, you can access them by
<?
echo $row->{$view->field['FIELD_ID']->field_alias};
?>
You will be able to add some logic to your template like
<?
if($row->{$view->field[field_B_value]->field_alias})
{
echo $output  ;
}
else
{
echo “B is not available”;
}
?>
Note the ‘FIELD_ID’ can be something different depending on the field type. it can be “field_B_nid” (if it is node reference), or “field_B_value” [...]

Tagged with , ,

Windows 2003 server has service “WebClient” disabled by default.
 
This service has to be on in order to access “File Share” by SharePoint Webdav. Below are the procedures to enable this service.
 
1. Login to the server with administrator account. Click Start–>Run, type in services.msc, press enter.
 
2. Locate the service called “WebClient”, Double click this service. The [...]