We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: NB Show custom field data

Development and Programming

Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

I updated the extension to version 0.8.1. Now by default, three custom fields can be set and displayed in the Edit section. The number of fields can be changed in the config.sys file by adding

$conf['nb_custom_field_columns'] = 1;

where the number is the number of columns to set/display.

Also fixed the previously mentioned ff_settings error for users without the FieldFrame extension installed (thanks Beebs).

       
Versa Studio's avatar
Versa Studio
572 posts
16 years ago
Versa Studio's avatar Versa Studio

Nick,

Your extension is working great. However, I am getting a massive pile of errors on its config page, stuff like this (repeating for a while)

Notice: Undefined offset: 0 in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 947

Notice: Undefined variable: result_array in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 967

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 343

any ideas?

Thx,

Ben

       
Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

expdesign, do you have nGen File Field installed? If you do, are the upload path settings all in order? At a glance, the errors may be related to that.

       
Versa Studio's avatar
Versa Studio
572 posts
16 years ago
Versa Studio's avatar Versa Studio

Nope, no nGen File installed.

       
Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

That must be it, then. Thanks 😊 Guess I assume too many things installed in EE installations 😉 I’ll update the extension when I can to remove the error.

       
Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

Updated the extension to v0.8.2, based on expdesign’s errors and feedback (thanks!).

Changelog: Fix: No more errors for users that do not have (or have never had) nGen file field installed in FieldFrame

       
eyevariety's avatar
eyevariety
158 posts
16 years ago
eyevariety's avatar eyevariety

Nicolas- I love this extension- its killer.

On a new site I am getting an error when I show FF matrix data. Its showing the output correctly but at the top of the page I get:

Notice: unserialize() [function.unserialize]: Error at offset 51 of 54 bytes in /home/dentures/public_html/system/extensions/ext.nb_show_custom_field_data.php on line 897
       
Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

Just a quick check, do you have the most recent version installed, and what are the fields that you are using in FF Matrix?

       
eyevariety's avatar
eyevariety
158 posts
16 years ago
eyevariety's avatar eyevariety

Hey Nicolas- sorry for the slow reply- you got back to me so fast, I missed it. The FF matrix has two fields, one a text input and the other an ngen file field. The file field is currently empty on every entry.

       
Nicolas Bottari's avatar
Nicolas Bottari
143 posts
16 years ago
Nicolas Bottari's avatar Nicolas Bottari

Alright, I’ll try to reply more slowly then 😉 I’ll have to look into this in more detail later. How about when you add a file to the nGen field? Does the error go away?

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.