Line Breaks in Album Titles

Hi, on an older build of zenphoto I was able to put line break html tags in album titles, which I used to cleanly format a title / subtitle layout in album titles. After I updated to 1.4.11, I am no longer able to do this. line break tags seem to get stripped out of the album title field when executing the apply button. My older albums still have this tag, and display as desired in browsers. How can I get this functionality back in albums I am creating now?

Comments

  • acrylian Administrator, Developer
    Sorry, html support within titles has been removed long time ago and I think there is no way to easily change that.

    Better would be to use another field like the custom data, location or a codeblock field for that purpose. Even better in case the site is repsonsive as it otherwise can look off fast.

    For new titles you could add however `\n` linebreaks and then replace them on the theme front end with a `
    ` using `echo str_replace('\n', '
    ', getAlbumTitle());`

    (Btw, current release is 1.4.13 :-))
Sign In or Register to comment.