ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Category Display In SlideShowPro

February 28, 2010 2:01am

Subscribe [1]
  • #1 / Feb 28, 2010 2:01am

    simplyee

    104 posts

    So we’re using SSP and the gallery module and it works well, with the exception of the category order. We’d like to change the order of the categories as they appear on the open player. Changing the orderby, or sort has no effect, nor does changing the category order of the gallery categories in the control panel. On closer inspection it appears that the category with the first added image displays last, and the categories then are desplay in asc order. But changing that to desc, or even editing the dates on the images to try and force it don’t make a difference.

    Anyone have experience getting the categories to display a certain way?

    Our xml looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <gallery>
    {exp:query sql="SELECT cat_id,cat_folder FROM exp_gallery_categories WHERE gallery_id = '2'"} 
    {exp:gallery:entries gallery="gallery" category="{cat_id}" limit="500"}
    {exp:gallery:category_name}<album title="{category}" description="{category_description}" >{exp:gallery:category_name}
    {entries}
    <a href="http://www.site.com/gallery/{cat_folder}/{filename}.jpg">http://www.site.com/gallery/{cat_folder}/{filename}.jpg</a>
    {/entries}
    </album>
    {/exp:gallery:entries}
    {/exp:query}
    </gallery>
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases