Important Notice: Effective immediately, all support will be handled through Discord. Read more about the changes coming to Anodyne's services.

Dynamic Forms and Developers

A place to show off (and others to download) completed MODs. Note: support for MODs is handled by third parties, not Anodyne Productions.

AgentPhoenix Tue Nov 06, 2012 9:05 am

Dynamic Forms and Developers

Coming in Nova 2.1.4, developers will be able to pull dynamic field information easier with some changes to the methods that pull field data. Now, instead of just being able to pass a numeric ID to the field data methods (characters - get_field_data, docking - get_docking_data, specs - get_specs_data, tour - get_tour_data), you'll also be able to pass the field_name. That means that pulling a character's age is as easy as:

Code: Select all
$this->char->get_field_data('age', 15, true);

The third parameter lets you tell Nova if you want to pull back just the field's data (true) or the entire object (false).

I know there are some folks out there who have wanted something like this (and some who have actually built it), but now it's actually in the Nova core and will be available starting in 2.1.4.
User avatar

Posts: 7596

mooeypoo Thu Nov 08, 2012 12:05 am

User avatar

Posts: 247

Return to Nova MODs

Who is online

Users browsing this forum: No registered users and 2 guests