Display a node in another node

I would like to display a node inside another node. I've tried the most obvious solutions, but with no rusults...

In my page.tpl.php I used this snippets and some variants,

$nid = 734;
$node2 = node_load_multiple($nid); 
$output = drupal_render(node_view($node2));
print render($output);

Any advice how to do this? Or where to place this?

install ctool in in drupal 7

I am trying to migrate from drupal 6.22 to 7.10 and learned views module is dependent on ctool.
Now I am trying to install ctool.
After downloaded files in local, I am not sure where to locate this ctool file?
i.e., /modules or sites/all/modules ?

I looked for documentation but I could not find one.

appreciate your help very much in advance.

Programmatically adding book nodes - outline - book module

Hi,

I am trying to programmatically add book nodes to my drupal installation.
I have no problem adding a single node to my installation via the API/PHP.

But I have a hard time getting my book nodes arranged in a book outline.

I have added the following nodes via PHP

- MY BOOK
- MY BOOK - CHAPTER 1
- MY BOOK - CHAPTER 2
- MY BOOK - CHAPTER 3
- MY BOOK - CHAPTER 4
- MY BOOK - CHAPTER 5

But how do I arrange them so the MY BOOK-node is the book and the CHAPTER-nodes is in the book outline...

views data export to csv,xls for SQL Server

No longer needed, issue fixed, but I will leave this here because there is a solution I posted below.

I have an very urgent need for the 'views data export 7.x' module to support SQL Server OR some custom PHP code to export data from my views to csv or xls. Send me a bid and time-frame for completion, and I will promptly respond. I can write the static query for the export in SQL Server management studio, if you can provide the php and tell me how to implement it with a button in my view.

Configuring remote MySQL database

hey all,

I find myself struggling with the database configuration for a site who's files sit on a Windows server and who's database needs to be hosted from a Linux server.

I've allowed access to the database/Linux server for the ip and url of the file/Windows server and tried pretty much any combination I could think off to get Drupal installed... only to encounter one of the following errors;

Drupal Views

Hi,I a Newbie from Kenya and have keen interest in drupal .There is this website that am building using drupal.Everything else was working fine but problems arose when i installed Views. An Error appeared and the hosts said that i create a php.ini file the inside have memory limit to 64M.But after i do that .I get this error now Fatal error: Class 'PDO' not found in /home3/costa/public_html/includes/database/database.inc on line 184.From the php configuration the memory limit is 32M. Is there another way of activating views.Regards

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x