ZenphotoCMS Forum
Two line album title? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Two line album title? (/thread-5754.html)



Two line album title? - vmills - 2009-08-27

Is it possible to create a 2-line album title, basically a headline then subhead on the next line?




Two line album title? - acrylian - 2009-08-27

You can use html markup in the title field to do that (depending on the allowed tags on the option of the same name).




Two line album title? - vmills - 2009-08-27

I tried adding br => () to the "allowed tags" field under Options > General but it didn't work to add a line break. Am I adding it incorrectly?




Two line album title? - flu - 2009-08-27

Hi.
Why don't you display the album title and its description using their dedicated fields (or another one if you use it for something else) ?
Then you just have to paste that in your theme :
< br / >




Two line album title? - acrylian - 2009-08-27

Good idea, the custom field could also be used as a sub headline. Of couse the function needs to be added to the theme files.




Two line album title? - vmills - 2009-08-27

Thanks, I'm using the album description, so I could try the custom field for a subhead. Could I include it in the title tag? Now the title tag code reads this (in part):

Could I use this instead (not sure the code for the custom field, which I assume is "Custom Data" on the Edit Album page:




Two line album title? - acrylian - 2009-08-27

http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintAlbumCustomData
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintImageCustomData




Two line album title? - vmills - 2009-08-27

Thanks for that link. I'll see if I can get it to work.