Hi,

im trying to creating nodes with node_save() using coustom page titles.

i looked at the normal node.module and printed out what values node_save() use to save the title, it showed for the node title
$node->title
and for the page-title
$node->page_title

while trying to use $node->page_title in my own script:

....
$node = new stdClass();
$node->type = 'coustomtype';
$node->title = 'Node Title';
$node->body = 'Some Content';
....
$node->page_title = 'Page Title';
....

the page title not saved. any suggestions what im doing wrong?

N20

Comments

Brian294’s picture

Status: Active » Closed (works as designed)

This module is not designed to help you with your custom program. You should post your programming support question here:
http://drupal.org/forum/4

I am closing this ticket.

Peace,
Brian