Hi,

I currently have a ddb in our website - www.slaashann.com

I want the 6th image (the Holiday Sales image) to be displayed first. How can I change order the sequence in which the images are displayed?

Thanks in advance for your help.

regards,
Shamik

Comments

shamik.dasgupta’s picture

Version: 6.x-1.0-rc6 » 6.x-1.x-dev
shamik.dasgupta’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc6
ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

There are several options:

1.) Sort in the view on publish date and change the publish date in the node so you get the right order.
2.) Add an order field (like a weight field) to the content type and sort on that in the view.
3.) Use nodequeue so you can order the slides by dragging the order of the nodes.

Hope this helps you further, please let me know

shamik.dasgupta’s picture

Hi,

I tried with the first option which you said, and it did not work unfortunately. However, when I am running the view query, then the "Holiday" page is coming first but not in the dynamic display block. I have saved the view as well. What am I missing?

Cleared browser cache as well as Drupal cache multiple times.

It is intriguing that the view query and preview is returning what I desire in the perfect order , but the DDB is not rendering it in that order.

SQL query after preview of the view below -

SELECT node.nid AS nid,
   node.title AS node_title,
   node.language AS node_language,
   node_data_field_pager_item_text.field_pager_item_text_value AS node_data_field_pager_item_text_field_pager_item_text_value,
   node.type AS node_type,
   node.vid AS node_vid,
   node_data_field_pager_item_text.field_slide_text_value AS node_data_field_pager_item_text_field_slide_text_value,
   node_data_field_image.field_image_fid AS node_data_field_image_field_image_fid,
   node_data_field_image.field_image_list AS node_data_field_image_field_image_list,
   node_data_field_image.field_image_data AS node_data_field_image_field_image_data,
   node_revisions.body AS node_revisions_body,
   node_revisions.format AS node_revisions_format,
   node.changed AS node_changed

regards,
Shamik

ppblaauw’s picture

The ddblock module also has an order setting (asc, desc, random).
To use the default order of the view you need to apply a patch to add a none option

The patch can be found in the issue: http://drupal.org/node/397018 Post #2

Hope this helps you further, please let me know.

shamik.dasgupta’s picture

Hi Philip,

This works for me. Thank you. Issue can be Closed.

regards,
Shamik

ppblaauw’s picture

Title: Changing order of news item in ddb » Changing order of news item in ddb (Fixed)
Status: Postponed (maintainer needs more info) » Fixed

set status to fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.