Fieldtype

Archived
Forum
(read-only)

Member List Custom Field

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Christopher Imrie

     

Safecracker and displaying entries

Support Request

images
images

Hi, I’ve been trying to make a form with Safecracker, but I can’t get it to display a dropdown menu of the member list. Does this field not work with Safecracker?

Also, I have been trying make a template that will only display entries where the member from the list custom field matches the screen name of the logged in user. I’ve had no luck with the search parameter. Is there a way I can do this?

Thanks

Brizian
# 1
Brizian

I have this issue as well. In my safecracker template I am using this, which works:

{if field_name == "my_field_name"}
{field
:my_field_name}
{
/if} 

However, that occasionally causes a PHP error at the top the page, roughly 1 in 50 page loads. It doesn’t seem to prevent the form from working or even loading correctly, just weird that the error appears only occasionally. I’d post the specific error here, but I can’t get it to come up just now.

 

_jHards
# 2
_jHards

I’m having the same issue. Calling

{field:my_field_name} 

yields the following error:

A PHP Error was encountered
Severity
Warning
Message
array_key_exists(): The first argument should be either a string or an integer
Filename
cki_mblist/ft.cki_mblist.php
Line Number
55 

Not an intermittent problem for me, happening every time.

Any help much appreciated.

ee core v2.8.1
cki v1.3.1