Drupal

XML-RPC2 and Drupal’s Services Module

Sometimes, there will be a need for you to integrate Drupal content to a non-Drupal content. For instance, the non-Drupal content is in PHP and you want to have the same menu from Drupal to appear on your non-Drupal site. You can do that using the Drupal Services module and using PEAR’s XML-RPC2 Library. (more…)

Displaying the total number of times the node has been accessed

Seriously, you do not need to manually query SQL statements just to get how many times the node has been accessed in Drupal. First, make sure that the Statistics module is enabled. Then, all you need to do is write this piece of code:


$node_stats = array();
$node_stats = statistics_get($node->nid);
print $node_stats['totalcount'];
?>

(more…)

Categories

Interested for a quote?

Business Days: Monday to Friday

Time Zone: GMT +8

Response time: Within 24 hours except for inquiries sent on Fridays.

Contact Us

View our Sample Works