How can I show comments from node A if I'm viewing node B?

I need to show comments + comment form from node A if I'm viewing node B. Currently I have both node objects loaded in node template, but how can I get rendered comments with form?

"PDOException: SQLSTATE[28000] [1045]" error when my site is put online

I just put my drupal website online today. I used filezilla to upload the files and the phpmyadmin to upload and manage the database. unfortunately, when i attempt to access my website i am met with the following error:

PDOException: SQLSTATE[28000] [1045] Access denied for user 'thomas'@'localhost' (using password: YES) in lock_may_be_available() (line 164 of /home/abraha12/public_html/includes/lock.inc).

How to use JQM theme and jQueryMobile plugin ?

I'm developing a mobile web site with Drupal 7 and i want to use jQuery mobile. I've found many plugins, but just one available with drupal 7 (jQuery Mobile module). I have also a jQuery mobile theme (jQM Theme). My problem is that doesn't work (there is just html, no css and jquery mobile displayed). Is there someone who used this plugin and theme ? Or could you give me an efficient way to create a mobile web site with Drupal 7 ?

Thanks,
Pierre

How can i create a sliding/slideout block for my contact module

Hi everyone. I am in the concluding stage of building a theme and I am in a dilemma of how to implement the contact form that appears on the right side on every node on my website just like the feedback form on the build a module website, the difference now is that instead of it popping out it slides out instead.

how to book online ticket

i have created online ticket booking site. Now how to make payments. what information should be collected by the customers. should they login inorder to book the tickets.

node_save($node) can't save cck field. I am in a hurry, please help me ,thanks a lot!

$node = new stdClass();
$node->uid = 1; // 创建订单者统一设为超级管理员
$node->type = 'order'; //节点类型为“订单”
node_object_prepare($node);
$cck_today = date("Y-m-d") ;
$node->title = $cck_today; // 订单号为当前时间戳
$node->language = 'en';
$node->field_phone[0]['value']= $form_state['values']['ship_phone']; //联系电话
$node->field_qty[0]['value'] = $form_state['values']['order_qty']; //记录客户订餐数量
$node->field_ship_address[0]['value'] = $form_state['values']['ship_address']; //送餐地址

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x