Wrong Album Names.

Hi when im using the <?php printAlbumTitle(); ?> tag to display the album names, it comes up as the 'tidy' title as a pose to the one i entered upon creating a gallery.

For example when i make an album called 'Frog on a pole' it displays it on my gallery as 'frog-on-a-pole' until i have to edit it, in which it works fine.

Can anyone help, cheers.
Luke

Comments

  • acrylian Administrator, Developer
    First you need to understand that Zenphoto is file system based. An album is a folder on your websacpe. Therefore an album has a name (the folder name on the file system) and a title. These both are independend. `printAlbumTitle()` gets the title that is on creation generated from the folder name. So an album whose folder is named "album1" can have the title "hello". The folder name is escaped to avoid issues on servers. I admit probably we should use the folder name on creation before it is escaped.
  • Cool, as long as it is default i am happy with that. I just thought i broke something.
    :)
Sign In or Register to comment.