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/
|