![]() |
|
How to display only links without thumbnails within an album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to display only links without thumbnails within an album (/thread-7575.html) |
How to display only links without thumbnails within an album - NaturalEnquirer - 2010-09-04 Is there a way to insert just links to subalbums without thumbnails? I'd like the user to be able to click on a "Plant Families" album thumbnail and see an alphabetical list of the dynamic subalbums (plant families) instead of multiple pages of thumbnails. This is not a parent album so I can't assign a different theme to that album. I've tried using codeblocks on the album using the printAlbumMenuList but that works only if subalbum are not hidden. I can link to a page of plant families in the codeblock, but then the list would not be dynamic. Is there any simple way of accomplishing this? How to display only links without thumbnails within an album - fretzl - 2010-09-05 In album.php look at what is between the [i]next_album()[/i] loop. ` [output]
You can remove the rest if you want. Of course you'll have some styling to do. More info on the [i]next_album()[/i] function can be found here: How to display only links without thumbnails within an album - NaturalEnquirer - 2010-09-05 I understand that part, but I need this change to occur only on ONE album, not all of them. Would I insert an if album = xyz here? I don't know php that well, so can you give me an example of what and where to put that? Thanks. How to display only links without thumbnails within an album - acrylian - 2010-09-05 ìf($_zp_current_album->name == '')) { ... } else {... } ` where the album name to get must included the parents if it is a subalbum (for example the name for "album2" within "album1" is "album1/album2") How to display only links without thumbnails within an album - NaturalEnquirer - 2010-09-05 Here's what I have so far but nothing is changing since I'm assuming I'm not doing the current album correctly. Album path is /test/flora. Have tried /test/flora; /flora and flora ' [list] How to display only links without thumbnails within an album - acrylian - 2010-09-06 Your code is messed up. Please use backticks or the standard html tag for code. From what I see you always include a custom album thumbs so you always get an image... You also did apparently not read what I said abou album names. if your ZP install is in "test" then that is of course not part of the album name.. if "test" is the toplevel parent then the album name would be |