12/28/2014 at 11:31 am
#313560
Keymaster
The code is in the connections_link.php
file. The function you’ll need to edit is the listAction()
function. The code in that function is what creates the view entry link.
I think this code will add a working link:
if ( is_user_logged_in() &&
( self::$entryID == $entry->getId() ) &&
( current_user_can( 'connections_edit_entry' ) || current_user_can( 'connections_edit_entry_moderated' ) )
) {
cnURL::permalink( array( 'type' => 'edit', 'slug' => $entry->getSlug(), 'text' => __( 'Edit Entry', 'connections_form' ), 'return' => FALSE ) );
}
I haven’t tested it and I assume you have the Form Extension because the link will resolve to the page with Form.
Hope that helps!