Gravity Forms Directory
Admin edit link (4 posts)

  1. ch8rt
    Posted 4 years ago #

    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.


  2. ch8rt
    Posted 4 years ago #

    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.

  3. ch8rt
    Posted 4 years ago #

    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);
  4. ch8rt
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms Directory
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic