Đang Thực Hiện

Drupal Job by thalemn

Dear sir,

My apologies for the delay, I was moved to a different project, but am now working on this project again.

The code you shared on May 2 does work. Thank you.

The design of the message has changed, now I need to work with multiple displays.

I have a total of six displays to control with the php code.

Here is a code that I have tried, but it does not work:

$view = views_get_view('daily_beat');

$view->set_display('block_1','block_2','block_3','block_4','block_5','block_6');

$view->pager['items_per_page'] = 1;

$view->execute();

$count = count($view->result);

if ($count >= 1) {

return TRUE;

}

else {

return FALSE;

}

}

The code needs to return true if any one of the displays has content.

A successful code from you will definitely result in payment of $30.00.

Your prompt response is requested.

Thank you!

Tom

Kỹ năng: Drupal

Xem thêm: pager, custom php code, custom view pager, project pager, design pager, else php displays, pager project, custom myspace band page, custom band myspace page, dotproject project custom sort, custom control, custom design myspace page

Về Bên Thuê:
( 1 nhận xét ) Hopkins, United States

Mã Dự Án: #1745116

Đã trao cho:

Ayeshrajans

Hired by the Employer

$30 USD trong 3 ngày
(34 Đánh Giá)
5.2