@ Jo Marks
Actually, that makes sense. That is, if the user that is being tested does not have a linked entry. There is not a way for Sidebar Login to know and the snippet I gave will not return anything so Sidebar Login uses the shortcode text as the link.
I actually have a much better solution available now. First, you’ll need the latest version of the Login extension that I released yesterday. You’ll find that it has a widget that you can use they is very similar to the Sidebar Login widget. The primary difference is that the widget in Login is designed with tight integration with Connections and the Link extension.
Now, speaking of the Link extension, make sure you grab the latest version. Earlier today I released version 3.0. This version of Link will add options to the Login widget to display the add/view/edit links. All with simple point and click magic :D
Link 3.0 also introduces two new shortcodes that can be used to add the view/add/edit link anywhere shortcodes are supported. Now, you can not use these shortcode in Sidebar Login because of the way it uses the shortcodes, you’ll just get broken links so I highly recommend using the Login extension instead.
With Link 3.0 you can even add these links to you menu if you wanted, here’s the FAQ.
Now, depending when you receive this there will also e an updated version of the Form extension which has been slighly tweaked to better integrate with Link.
