ZenphotoCMS Forum
suggestion to make printAlbumMenu validate - 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: suggestion to make printAlbumMenu validate (/thread-6231.html)



suggestion to make printAlbumMenu validate - subgeek - 2009-12-05

i wasn't sure where to put this. it's sort of a bug, but only if you care if your pages are generating valid xhtml. i suppose it could also be a feature request.

while testing 1.2.7 with my theme i saw that pages weren't validating if there was a $css_class_active printed in the menu. looking at the code i saw that it was printing something like:

``

with a double space after the a and no space between the class and the address. after changing the beginning of lines 197 and 199 of print_album_menu.php from:

`$link = "




suggestion to make printAlbumMenu validate - sbillard - 2009-12-05

We will get this changed in the nightly build.




suggestion to make printAlbumMenu validate - acrylian - 2009-12-05

Thanks, of course we mean to have themes generally validate xhtml (transitional).




suggestion to make printAlbumMenu validate - subgeek - 2009-12-05

it's great to use a software package that not only works so well, but has developers that respond so quickly. thank you for building and maintaining this great tool.