![]() |
|
AlbumCustomData render issue - 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: AlbumCustomData render issue (/thread-3075.html) |
AlbumCustomData render issue - csx - 2008-06-11 When I use `` it shows up, but the data that I've entered doesn't line break where I've done so on the administrative end. Example, if place this data in the custom data field: [b]Some information It renders like this: [b]Some informationMore stuffZenPhoto rocks[/b] Any Suggestions? AlbumCustomData render issue - acrylian - 2008-06-11 You have use html tags like AlbumCustomData render issue - csx - 2008-06-11 I was hoping to avoid html in the admin fields (this will eventually be used by someone not so html-savy). Why does the Description field (``) render with line breaks where the custom data field doesn't? I looked in the mySQL structure, but could not find a difference between the two (both setup as 'text'). Does telling something to "print" versus "echo" make the difference? AlbumCustomData render issue - acrylian - 2008-06-11 Well, using is not that difficult even for a none html savy person... The function AlbumCustomData render issue - csx - 2008-06-11 That would be great! Will that by any chance be available in an upcoming nightly build? AlbumCustomData render issue - acrylian - 2008-06-11 Yep, will be in tonight's nightly. AlbumCustomData render issue - csx - 2008-06-11 Thank you! That's awesome! AlbumCustomData render issue - csx - 2008-06-11 Acrylian, any chance you can tell me what specific file(s) I'd need to update? I've made a few custom changes to non-theme files (ie: functions.php) and want to make sure I don't lose anything. Thanks again. AlbumCustomData render issue - sbillard - 2008-06-12 It is NEVER recommended that you update only some files as there may be multiple dependencies. Best you use a file comparison program to see what has changed. Better still is not to modify the zenphoto core files. Usually using theme based custom functions can handle whatever you need. (The first implementation of subalbum image paging was done as a custom function, so I imagine pretty much anything could be done this way.) AlbumCustomData render issue - csx - 2008-06-12 Thanks for the heads up, I'll just pull what I changed and place it back in later. You guys do great work. |