Alphabetical listing and linklist of albums

kruegerson
kruegerson's picture

Joined: 2009-04-22
Posts: 6
Posted: Thu, 2009-08-27 10:28

Alphabetical listing and linklist of albums problem

Hi there,
I searched the docs and forums but can't find the answer to my problem.. can anyone help?

1. I want to show an alphabetical listing of all my albums on a seperate page. Showing just the album name as a link. I was thinking to solve this by adding a custom page using the 'Links In The Head' Extension and creating a linklist with links like http://abc-stars.com/main.php/v/andre_agassi/
But this is a bit complicated.. an automated linklist would be much better.

Can I search for album names with the searchbox beginning with a certain alphabetic character?

2. Because this is my second problem:
I'd like to show the hole alphabet as a line of characters like A|B|C|D| at the top of the index page or maybe on every album page. Each character should be a link to a page showing all albums with names that begin with this character

Has anybody done this and can give me any hint?
Thanks a lot

This is the page I'm working on:
http://abc-stars.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Thu, 2009-08-27 11:45

Would it not be easier to have albums A-Z and sub-albums would be corresponding stars names.
This way your A-Z menu would be static, and you'd only have to move the sub-albums to their proper parent.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Fri, 2009-08-28 00:09

Not an Alphabetical list but similar to what you are after:
--Go to this url:
http://www.galleryembedded.com/forums/viewtopic.php?t=3897
the first post has a file to download.
Try a few posts down the url was broke
--Download that file.
--Extract the files from that file.
--Upload the files from that extraction to the correct location on the server. It will be self explanatory/intuitive as to were they should go.
--visit:
http://EXAMPLE.com/gallery2/main.php?g2_view=albumselect.Navigation
to verify the operation of the new operation of the module.

Then you should be able to add it via some php on your page.
like:

<?php
@readfile('http://YOURSITE.com/gallery2/main.php?g2_view=albumselect.Navigation');
?>

Then you need to sort the albums in G2 to the way you want them to show on the tree.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
kruegerson
kruegerson's picture

Joined: 2009-04-22
Posts: 6
Posted: Mon, 2009-09-07 20:35

Thanks a lot for the reply! I guess I am a little too late, sorry, and the link is not working anymore..
http://www.galleryembedded.com/forums/viewtopic.php?t=3897
.. does not show any posts
I would be thankful if you tell me which file I have to download once again,

Thanks a lot
Markus

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Mon, 2009-09-07 21:44

Not tested but should work.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

AttachmentSize
albumselect.zip2.93 KB
 
kruegerson
kruegerson's picture

Joined: 2009-04-22
Posts: 6
Posted: Tue, 2009-09-15 12:45

Dave,

Thank you for the files. I have put the folder into the modules directory. When I try to load the url you told I get this error message:

URL [mysite]/main.php?g2_view=albumselect.Navigation

##########################################

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : /usr/www/users/abctsv/modules/albumselect/module.inc

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin)
* in modules/core/classes/GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin)
* in modules/core/classes/GalleryView.class at line 153 (GalleryCoreApi::loadPlugin)
* in main.php at line 325 (GalleryView::loadView)
* in main.php at line 104
* in main.php at line 88

#######################################

What can I do? Thanks for any hint.

Thos is my page:
http://abc-stars.com/main.php?g2_view=albumselect.Navigation

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Tue, 2009-09-15 14:41

Do you have the album select module activated?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
kruegerson
kruegerson's picture

Joined: 2009-04-22
Posts: 6
Posted: Tue, 2009-09-15 16:01

I have uploaded the 'album select' folder to the 'modules' directory but there is no entry showing up in the backend for this, not in the plugins listing or elsewhere, so: obviously not activated .. excuse me, am I missing something?

Markus

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Wed, 2009-09-16 01:33

The files I posted are only a addition to the existing album select module.
If you don't have that module installed you need to get it from downloadable plugins.
Site admin, plugins, get the album select module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team