Previous and Next image in gallery is always the same as the current image..

Previous and Next image in gallery is always the same as the current image..

Wednesday 10 November 2004 2:03:33 am - 3 replies

Author Message

Wenyue Yu

Wednesday 10 November 2004 2:38:49 am

Hi,

I guess the problem is because of fetch_alias operator which may have potential bug. Try fetch function instead.

Regards,
wenyue

Felix Laate

Wednesday 10 November 2004 5:52:12 am

Thanx for your swift answer..

I changed fetch_alias to fetch (and only that). But it didn't do the trick. Di I need to change the whole fetch-funcions?

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Wednesday 10 November 2004 11:45:11 am

Ahaaa.. found it. Was obvious I guess.


next_image=fetch('content','tree', hash(parent_node_id, $node.parent_node_id,
                                            class_filter_type, include,
                                            class_filter_array, array( 'image' ),
                                            limit, 1,
                                            attribute_filter, array( and, array( $sort_column, $sort_order|choose( '<', '>' ), $sort_column_value ) ),
                                            sort_by, array( $sort_column, $sort_order ) ) ) }

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.