[SOLVED] Integrate Sub-Albums and Items in Siriux

cma

Joined: 2011-04-13
Posts: 12
Posted: Mon, 2013-10-14 19:16

Hi All,

Even though I've rearranged the sub-albums and images contained in an album, it displays first all the sub-albums then all the images.

How can I get it to integrate, such that all the contents regardless of file type are displayed in order?

I see in album.tpl that the code is doing "firstAlbum" and the albums loop then "firstItem" and the items loop, but have no idea how to fix this.

When I click on an image it gets the number right - e.g. 2 of 11 - so I know they're stored in the right order, just not displaying how I would like. The 'next' button will go to the next image (Item) but not sub-album, such that after image '2 of 11' is displayed image '5 of 11'.

Thanks for your suggestions.

http://sentimentalsusan.com/susan5/main.php?g2_itemId=18

Audrey

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2013-10-18 16:10
cma wrote:
How can I get it to integrate, such that all the contents regardless of file type are displayed in order?

It is displayed in order already ... by file type. If you want to change this, you need to change the code you referred to.
As you can see, it is not a matter of pushing a button to change this but rewriting the code as you want it to be.

--
dakanji.com

 
cma

Joined: 2011-04-13
Posts: 12
Posted: Fri, 2013-10-18 16:49

Thanks Dayo. Yes I figured it out. I took the guts of the Carbon album.tpl and integrated it into the Siriux album.tpl. Local folder, of course. :)

 
cma

Joined: 2011-04-13
Posts: 12
Posted: Fri, 2013-10-18 16:51

Still couldn't figure out how to make the 'next' and 'previous' buttons cycle through both the albums and items - they only run through the items on both Carbon and Siriux. Not a huge deal though.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2013-10-18 17:54

Good to know.

Enjoy!
--
dakanji.com