I'm not looking for a plugin to generate a Google sitemap, but what I'd like is something that would list all the albums on my site, with the proper links included. That way instead of digging through multiple levels of albums I could display one page showing everything hierarchically, so the user could quickly find the album they're looking for.
I thought of copying this out of the sidebar which shows all the albums, but for some reason no albums are being listed there, even if I hit expand. Any ideas? I don't know what's changed as I haven't touched my gallery for some time.
Posts: 8339
http://codex.gallery2.org/Gallery2:Modules:sitemap
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 51
That just gives me a Google XML sitemap. I'm looking for something that can just generate a list (HTML preferably) with links to all my albums, and nest them if possible.
Posts: 27300
There is a the album select block that has a dropdown or a DHTML tree.
http://codex.gallery2.org/Gallery2:Modules:albumselect
and a modification to show HTML to be pasted were you like:
http://gallery.menalto.com/node/90566#comment-318999
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
Looks like my DHTML tree wasn't working for some reason, but the regular dropdown box did. Is there any way to expand the width of the sidebar? There was nothing in the Carbon theme properties for that, but it'd be nice, in order to fit in the entire album name.
And the second link does exactly what I wanted. I'll just customize it further.
Posts: 27300
@width: Some themes are hard coded some are CSS width.
Need a url to help out further.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
http://www.gschneiderphoto.com/gallery/v/birds/
Hit the sidebar expand button on the top left. It's almost there, but could be a touch wider to fit in some of the names.
Posts: 27300
At the url proveded I don't see an issue.
See attached.
Perhaps you can create a test album with the behavior with some test titles/items?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
Oh, I mean once you click on the jump to album list, some of the album names don't quite fit in.
Posts: 27300
Are you talking about the album select dropdown?
I see this album Northern Saw-whet Owl is truncated. Is that what you are after?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
Sorry for the late reply. Yes, that's what I was referring to.
Posts: 27300
Edit
stripTitles=true truncateTitles="20" createTextTree=true}
change the 20 to a larger number
in
modules/albumselect/templates/blocks/AlbumSelect.tpl
You might have to change the CSS or the sidebar width to make it wider as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
I increased the truncation length, and then went to themes/carbon/theme.css and edited the side bar width to 200px, but that seems to have completely changed its behaviour and even when closed it's shoved off to the left side and still visible. There must be something else I need to modify.
Relevant code:
Posts: 27300
If I view the source I don't see that you have changed this:
#gsSidebar { border-right-width: 0px; width: 200px; overflow: hidden; margin: 0 5px 0 5px; }
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
Yes - I changed it back so the site keeps working. If I keep it at 200px I get the following:
[img]http://img43.imageshack.us/img43/8434/screenshotcp.png[/img]
Posts: 27300
Then you have to find the code that positions the sidebar further to the left.
The theme you are using was not designed for having the sidebar wider.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 51
Makes sense. Thanks