See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

How to create node using xml-rpc?

Hello, everybody. I`ve started to work with xml-rpc, just want to public results of desktop programm in auto mode. I have create an xml-rpc server:



include("xmlrpcutils/utils.php");

// Change these to match your configuration
$host = "site.ru";
$uri = "/xmlrpc.php";

$result = xu_rpc_http_concise(
    array(
    	'method'	=> "system.connect",
	'host'  => $host,
    	'uri'  => $uri,
    	'port'  => 80	
    )
);

$result = xu_rpc_http_concise(
    array(
    	'method'	=> 'system.listMethods',
	'host'  => $host,
    	'uri'  => $uri,
    	'port'  => 80	
    )
);

for ($i = 0; $i < count($result); $i++){
	echo $result[$i]."<br>";
}

$new_node = array(
     'type' => "story",
     'uid' => 1,
     'name' => "mcnet",
     'title' => 'TITLE ' . date('Y-m-d H:i:s',time()),
     'body' => 'BODY ' . date('Y-m-d H:i:s',time()),
);

$result = xu_rpc_http_concise(
    array(
    	'method'	=> 'node.save',
	'args'  => $new_node,
	'user' => 'admin', 
	'pass' => 'pass',
	'host'  => $host,
    	'uri'  => $uri,
    	'port'  => 80	
    )
);

for ($i = 0; $i < count($result); $i++){
	echo $result[$i]."<br>";
}

And I have such problem: calling of system.listMethods is working as result I get such list:
system.multicall
system.methodSignature
system.getCapabilities
system.listMethods
system.methodHelp

Disabling default forum view and use views

I have a question is it possible to turn of the default forum view of drupal? I created a view for displaying the fora, but when i go to /forum the default forum view will appear and that is unwanted in my situation.

Thanks in advanced.

url cleaning

what is url cleaning and how to use url cleaning

Video Problem

how to upload drupal video

Help needed for actions and triggers

I want once the comment is approved the notification mail is sent to commentor.

How to control the item's in drop down filter while using views

Hi,

When I have created a view, which basically filter's the node_type and display the nodes according to the node_type, I found that the drop down takes all the node_type. Though I have selected some specific node type. How can I limit this node type? Please help me.

Thanks
Rahul

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core