Missing Link in Sidebar


When adding a link to the "Links" section with a blank Title the link is missing from the sidebar.
A suggested solution would be either to require a Title or set the url to the Title.
Steps to Recreate:
1.) Login in as admin.
2.) Add a "Links" section.
3.) Click on "Edit mode" in the "Links" section and select "add".
4.) Add a link with a blank Title and a valid url. Leave all other selections as default.
5.) Select "Save".
6.) If the Links section is not on the sidebar select "Send To Sidebar". (There will be an empty space underneath the "Links" section on the sidebar where the added link should be.)

file attachments


MrMonopoly wrote Feb 13, 2009 at 1:54 PM

We have found a fix for this bug. You can check to see if title is empty, and if it is empty set the title equal to the url. You can do this by adding in the following code at line 86 in linklist.ascx.cs. The attached file is a screen shot of where to add the fix. Replace the highlighted line with the following code.

if (!txtTitle.Text.Equals(string.Empty))
row["Title"] = txtTitle.Text.Trim();
row["Title"] = txtUrl.Text.Trim();

wrote Feb 13, 2009 at 1:54 PM

MRAatFC wrote Jun 15, 2009 at 9:24 AM

Will be fixed with v1.3.0 (currently in beta)

wrote Jun 15, 2009 at 9:33 AM

wrote Feb 14, 2013 at 8:43 PM

wrote May 16, 2013 at 10:19 AM

wrote May 16, 2013 at 10:19 AM

wrote Jun 14, 2013 at 7:19 AM