![]() |
|
create new custom data fields? - 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: create new custom data fields? (/thread-3052.html) |
create new custom data fields? - Vaisak - 2008-06-06 I wonder if there's a way to do this, since I've been trying the nightly build with localization plugin and managed to get the description from the custom data field when I change to German (using switch). I think this is quite an easy way to have descriptions in different languages for those who, like me, doesn't know a lot of php. Well, I was wondering if I'd have to mess with mysql to do this. Most of the times I can do things when they require php, but I've never edited a database. create new custom data fields? - sbillard - 2008-06-06 You can always partition your customdata field into parts. Use some character as a part separator that will not appear in any of the items you want to store. Suppose you use We really discourage you from hacking the core of zenphoto (which is what you would need to do to create multiple table columns for your extra custom data fields.) Hacking the core makes it hard for you when you want to upgrade and it makes it hard for us to diagnose problems you might someday have. create new custom data fields? - Vaisak - 2008-06-06 Thanks sbillard, I'm gonna try that asap. I didn't really like the idea of hacking the code, either. Thankfully is just a local installation, so if I mess things up, I won't have any problems XD By the way, is the spanish localization available for download? I'm interested in giving it a try. EDIT: It works wonderfully, thanks again, sbillard! create new custom data fields? - acrylian - 2008-06-07 You find always all available translations here: http://www.zenphoto.org/trac/report/9 create new custom data fields? - special-k - 2010-03-01 When I try this, I get an error "call to undefined function". I just did create new custom data fields? - sbillard - 2010-03-01 There are versions of this function based on the object you are using--for instance create new custom data fields? - special-k - 2010-03-01 Sorry sbillard, didn't realize I updated on a year old thread. (also didn't mean to hijack anything; Just figured I'd post here since it was a similar question). |