Support » Plugin: Gravity Forms Directory » [Plugin: Gravity Forms Directory & Addons] Admin edit link

  • ch8rt

    (@ch8rt)


    I’m not sure I understand what ‘user edit link’ is supposed to do, but what I need is a way to allow admins to edit either directly with the directory or via another edit screen.

    When I put the user edit link on the form the column shows in the directory but without a link for each entry.

    http://wordpress.org/extend/plugins/gravity-forms-addons/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Any ideas on this? I’ve been trying to use the hooks mentioned in the FAQs to work around this but I can’t for the life of me echo the entry id anywhere.

    Basically I think I need a way to get $lead_id to punch out in the following function. It doesn’t though and I can’t for the life of me figure this one out.

    add_filter('kws_gf_directory_value_15', 'admin_editlink');
    		function admin_editlink($content) {
    		    return str_replace('Edit', '<a target="_blank" href="http://localhost/pe/wp-admin/admin.php?page=gf_entries&view=entry&id=1&lid=' . $lead_id . '&paged=1">t' . $lead_id . '</a>' , $content);
    		}

    Anyone?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Gravity Forms Directory & Addons] Admin edit link’ is closed to new replies.