Slideshow Limit?

Slideshow Limit?

Friday 13 May 2005 5:44:46 am - 3 replies

Modified on Friday 13 May 2005 5:50:36 am by Brian Gambill

Author Message

kracker (the)

The Doctor

Saturday 14 May 2005 10:24:25 am

First a word on the composition of your messages.

<i>Please</i>, separate the content of your posts with line feeds / carriage returns. Space out your thoughts and questions so that non-english users can understand and comprehend your thoughts clearly.

It is very hard to ...
1) Read your message, let alone
2) Understand what is happening, or
3) What or how you desire 'it' to work instead, let alone
4) Not get confused by your other suggestions and guesses on the possible causes.

<b>Gallery Image List Limits / Order</b>

<i>Limits</i>
Create a template override of this file for your (site) design / siteaccess : base/override/templates/full/gallery.tpl

Alter the <i>page_limit</i> variable in the following to match the desired limit.

{let page_limit=10
             children=fetch_alias( children, hash( parent_node_id, $node.node_id,
                                                   offset, $view_parameters.offset,
                                                   limit, $page_limit,
                                                   sort_by, $node.sort_array ) )
             list_count=fetch_alias( children_count, hash( parent_node_id, $node.node_id ) )}

Example:
<i>http://pubsvn.ez.no/nextgen/trunk/design/base/override/templates/full/gallery.tpl</i>

Alternately you can insert a <i>settings/siteaccess/name/site.ini.append.php</i> variable here to represent the limit if you expect the need to increase this variable quickly / dynamically in the future :)

A previous post of mine shows you just how to do this quickly. <i>http://www.ez.no/community/forum/setup_design/hostname_variable</i>

<i>Order</i>
You may also alter the order of the gallery image display. Review the documentation for the <i>fetch_alias</i> and <i>fetch</i> operators and the sort_by (parameter of the fetch).

<i>http://www.ez.no/ez_publish/documentation/reference/data_fetching
http://ez.no/ez_publish/documentation/reference/data_fetching/content
http://ez.no/ez_publish/documentation/reference/data_fetching/content/tree

http://www.ez.no/ez_publish/documentation/reference/template_functions/miscellaneous/fetch_alias
http://www.ez.no/ez_publish/download/changelogs/ez_publish_3_3/template_fetch_by_alias

http://www.ez.no/community/forum/general/number_of_row_for_each_item_with_fetch
http://www.ez.no/community/bugs/fetch_alias_problem_with_sort_by</i>

As you can either alter an one ini setting to affect the fetch_alias globally or you can duplicate the fetch_alias, rename it and then customize that specific implementation of the desired fetch sort order ...

regards,
//kracker

eminem : 8 mile : <i>find your voice ...</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Brian Gambill

Saturday 14 May 2005 6:23:23 pm

Obviously I didn't make the point.

Steps to problem
1) Enter gellery page
http://www.altamesa.org/resources/galleries/habitat_for_humanity_house_spring_2005/see_the_latest_habitat_developments

2)Click view as slide show
-First picture is shown

3) Click next image
-Second picture is shown

4) Click next image
-Sixth picture is shown

A continuation of clicking next image skips pictures presenting every 5th picture through the rest of the slideshow.

In the future if my ramblings seems to be that of a madman without proper levels of caffiene, please feel free to ask for a re-statement of the problem OR disregard the post all together.

I do appreciate your attempt at helping me fix the problem.

kracker (the)

The Doctor

Sunday 15 May 2005 9:16:09 pm

Alright,

Weeeeel. I take it a little here but I can't not not stop.

First, Your right, I know your right and what kills me inside is that I have been were you are now like a year ago. I was furious and a little frustrated.

What really doesn't help is I can't remember just what I did about it. I remember hacking the .... out of an override of the navigator/google.tpl only to find that it wasn't inside that file ( fuzzy logic memory engaged).

It seemed like a big deal on the onset only to backup and find it was higher up that controlled that instantiation of that negative feature ( gut shot guess ).

Sorry I don't have a better memory here or the time to relive that particular few days.

I guess I'm stepping to the side on this one, save this, it's possible and i know I've done it before.

"You can do it!" -- Waterboy

//kracker

rem : man on the moon

Member since: 2001.07.13 || http://ezpedia.se7enx.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.