Member
Member
shiatostorm   2009-12-24, 02:13
#1
Firstly: I've managed to get the random images working (yay! but I was unable to remove the 'Li' tags any other way than editing the functions.php file, is there a better way of doing things?), I would like the random image displayed to direct the viewer to the album it sits in and not the image itself - as I'm using a lightbox/slimbox script for viewing images and image.php is a bit redundant (and unstyled!). Is there a way to make this possible?
Oh and only show this random image on the first index page and not any other subsequent ones page 2, 3 4 etc?

Secondly: I'm trying, unsuccessfully to place a list of albums into a sidebar within the album.php file - for direct access to a specific album rather than go back to the index page and then through the pages that way. I found 'printAlbumMenuListAlbum' in the Docs but seem to be falling flat when trying to implement it. I'm unclear how to get the function to work as each time I try the page just goes blank, not quite sure what I'm doing wrong...

Thirdly: Merry Christmas! Smile
Administrator
Administrator
acrylian   2009-12-24, 11:23
#2
1a. [i]Is there a way to make this possible?</ema> That is the wrong question as nearly everything is possible. You have to do some customizing doing your own function for that.
1b. Check for the page with a simple if/else.

2. `printAlbumMenuList` is a function of the print_album_menu plugin (which is clearly noticable on the doc) and needs of course to be enabled.

3. You too..:-)[/i]
Member
Member
shiatostorm   2009-12-25, 02:16
#3
ah ha, thanks very much for all that.
1 - I've found 'getAlbumLinkURL' seems to be about right and trying to get that working. I'm getting there - at present it just ends up as "mysite.com/gallery/index.php?album=" and then stops there. I'm missing something somewhere. I'll look a bit harder and see what does/doesn't break it!
2 - sorted - I'm a fool for not checking in the first place, doh!
3 - Smile
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.