Services 3 Drupal 7 XML issues

Hi,

I am trying to allow another site to connect to my Drupal installation and create, update delete nodes of a specific content type (jobs) via XML. I have installed the Services 3 module. However, the documentation is currently quite lacking and I'm not really sure what to do next! I've been hitting Google quite hard and there just doesn't seem to be much to point me in the right direction, e.g. syntax for the XML file etc...

Does someone have experience with this? Can you help to shed some light?

Many thanks in advance.

connect external Db

Hello!
Can you help me to resolve a problem: I`ve connected a database but Drupal search his own strings in these external DB, not those i need to search. Sorry for my English. Here is the code:


$databaseInfo = array(
'driver' => 'mysql',
'database' => 'geonames',
'username' => 'geonames',
'password' => 'b60046247b',
'host' => 'localhost',
'prefix' => '',
);

Database::addConnectionInfo('data_geonames', 'geonames', $databaseInfo);
Database::ignoreTarget('default', 'default');
db_set_active('data_geonames');

$table = array();

$header = array(array('data' => 'Status', 'field' => 'geonameid', 'sort' => 'asc'),
array('data' => 'Name', 'field' => 'name')
);

$content = '';

//array('target'=>'db_geonames')
$select = db_select('geoname', 'geo')
->fields('geo', array('geonameid','name'))
->extend('PagerDefault')
->extend('TableSort')
->orderByHeader($header)
->limit(10);

// execute the query
$result = $select->execute();

$data = array();
foreach ($result as $item) {
$data[] = array($item->geonameid,
$item->name
);
}

$output = theme('table', array(
'header' => $header,

Definitive nodes.csv test file for D7 Feeds mod?

I've spent several days trying to import a csv file into nodes & believe the 'feeds/tests/feeds/nodes.csv' file contains some errors [or at least creates errors upon import]; it appears not to be able to distinguish line breaks [rows]..

Just wondered if anyone has a definitive test file I could learn from?

How can we customize the look and feel of Views in our theme ?

Hello,

I wanna know how can we customize the look and feel of Views in our theme? or Where we've to do the editing/customizing of the custom Views displayed on our FrontPage you can have a look at my site

http://www.hospitalsreview.com/drupal

I want it to bet get modified with some CSS code I've created, please help me in this.

Thanks in advance :-)

I am getting this error while adding a view in drupal??

Style Unformatted list requires a row style but the row plugin is invalid.

Please tell me in detail that why i am facing this problem.
I am new in drupal so i just want to know more about drupal.
I have already installed the view, ctool modules in my drupal website.

Change Layout of a Node add/edit input form with Panels

Drupal 7's Panel module is ridiculous. Is it correct to assume that it's not possible to replace a node edit/add form layout of fields for a particular content type? It asks me for the node id. Why? I want the panel to work with all nodes of a particular type. I see no place to specify the content type. What am I doing wrong?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x