I want to use those names as titles at the top of my page, in the place where I normally would add the wordpress tag single_cat_title(); or single_month_title();.
Jack, if you download the latest version of the code you can see a function that I just wrote called generate_title() (in gallery.php), you can modify this to suit your needs.
Then at the top of gallery.php, you can modify the $inHead variable to change the page title. For example,
Thanks Mike. With a little tweaking of the function it worked. Although I had to cut and paste that function into the beta version of gallery.php, because the latest nightly (yesterday) doesn't work for me. I sent Anti an email about this. Large pictures instead of thumbs are shownm and no data is saved from the options menu (thumbnail height + yes/no intermediate image).
But couldn't this function be made a little bit more userfriendly, like how WordPress uses its single_cat_title() etc.? So this would become album_title() and collection_title(). It's easier to place this line somewhere in the document than what I had to do.
i have a problem with title-tag: i want titles - generate from collectionname or albumname, but code at the top from mike dont work. the error: Fatal error: Call to undefined function: generate_title() in /homepages/...
my know-how on php is very little - but can anyway help me?
oh, ...and sorry for my bad english.
reagards from germany uwe
------------------------------------------
hello again,
i have found answer on http://www.plogger.org/forum/comments.php?DiscussionID=608&page=1#Item_13