The 'add new item' link which is always located at the end of the list. Is there a way that we can add a similar link at the top of the list?
Not possible by just configuring web part. Of course you could modify the Title Url of the web part to point to the Add new item URL, but I don't count that as a valid suggestion ;)
Some web parts also allow you to edit the XSL of the web part. I haven't tried this myself, but you might be able to achieve the same in certain web parts using this method.
jQuery example (not on my dev machine now, so will share the idea at least):
- Find the Add new item node using ID and get it's html: $('table[summary='yourtablename'] td[class='ms-addnew']).html()
- Find the web part table, it should have "summary" attribute that might be easiest to find $('table[summary='yourtablename'])
- Append the Add new item TD you got from step 1 wherever you wish, or get the TR above that TD and append the row below/above column header row of the table
- You may want to change the ID attribute of the actual link to some other as there might be conflicts if you have two links with same ID attribute in HTML)
You can edit the page to add a Content Editor Web Part up top and adjust the chrome type so that title / borders / etc don't display. Then edit the content of the web part to be a hyperlink to the same place as the other one.
You can keep the existing Add new item link at the bottom of the page and add an additional link above your list.
Add Content Editor web part above your list.
Copy the HTML markup from the existing Add new item link. You can see it with help of the F12 developer tools of internet explorer or inspect element of Firefox/Chrome.
Paste the HTML markup into the Content Editor web part.
You may need to wrap the above code in a div and additional styling to it as needed.
Actually, the simplest approach and probably best solution is to simply link to the form on your site ending with NewForm.aspx. It looks even better if you add the + image in fron too. Example: New Issue Tracking Form
Assuming you have jQuery available in your environment. Here is a quick way to knock it out.
This code must work with JQuery.
var $addnew = $('.ms-addnew'); ($('#WebPartWPQ2').prepend('<br>')).prepend($addnew.html());