I have a content type 'child'. And I have give the permission to authenticated user to create child node. Its working fine. But I need to show current user created node in user profile page with edit mode so user can easily updated own created node. For this I have created views but I am not getting any option to show a created node as a edit form.
1 Answer
You have to give permission for Edit own page for that role to see "Edit link" in views or any other page.
Tha can be available from
www.example.com/people/permissions -> <Content Type>: Edit own content
You have to create a module for showing your custom link in user profile page
function <modulename>_menu() {
$items['user/%user/<yourlink>'] = array(
'title' => 'Your Pages',
'page arguments' => array(1),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
return $items;
}
Not to mention you have to clear cache after the this.