Browsing the topic Drupal
ntpdate step-systime: Operation not permitted in a XEN VPS
Leave a comment | Filed under Drupal LinuxApril 25, 2010
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
drupal views 2 theming: access other fields value in your field template
3 Comments | Filed under DrupalApril 24, 2010
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 [...]
February 27, 2010
use the following before you start your query mysql_query(“SET CHARACTER SET utf8″, $connection);