I am trying to use the Related Links with Media. It appears I can add links to the list, as they show up, at least the title does, in the list. As soon as I save and publish the page, the list of links goes empty.
Lee, has this been resolved? Has v.2.1 been officially released? I've got 100 users sitting on their hands waiting for this ability before our site goes live very shortly. I promised them this ability based upon what I read.
This is happening with the regular Related Media datatype too right?
Are you by chance using Matt's Page Notifications package, and is there a notification on the affected page? I had the exact same issue and finally narrowed it down to that. After removing the notification Related Links works properly. Have been meaning to look into it but haven't had time lately.
As a matter of fact, we are using Page Notifications, which has issues as well. It pushes the divs below the bottom of the screen and you can't get to them.
I think you are thinking of the Notificaitons Dashboard - I was referring to the Page Notifications package that adds notifications to the top of certain pages (ie "This document is set to redirect to xxx")
You are correct. I realized after I posted my reply, so edited it. I just removed Page Notifications and low and behold, the problem is fixed! At least with Related Links. That's very odd and interesting how you were able to figure it out. My users will be so happy. I'll leave Page Notifications off for now since it's admin fluff and not critical to have it there.
FYI - I posted this on the Page Notifications forum but thought it might be useful here, too.
I have a patch to fix this issue in Page Notifications, along with the other issue where the Related Links datatype is affected by Page Notifications - postbacks aren't honoured and related links are not saved.
I think the core issue comes down to modification of the controls collection breaking Related Links.
To fix, grab the source from codeplex and update the ShowNotifications method from:
protected void ShowNotification(ContentPlaceHolder placeHolder,string msg) { var panel = new Panel(); panel.Style.Add("background-color","#fff9c2"); panel.Style.Add("border","solid 1px #ffd800"); panel.Style.Add("color","#333333"); panel.Style.Add("padding","10px"); panel.Style.Add("margin-bottom","10px");
Which uses jQuery at the bottom of the control collection (does not seem to affect Related Links) to prepend a message to the top of the page (inside the scrollable container).
Related Links with Media Won't Save Links
I am trying to use the Related Links with Media. It appears I can add links to the list, as they show up, at least the title does, in the list. As soon as I save and publish the page, the list of links goes empty.
Hi Connie,
Which version of uComponents are you using?
We've got a release of v2.1 (stable) due early next week - so we're doing testing over the weekend. So if there is a bug, we'll iron it out.
Cheers, Lee.
I'm using v. 2.0.1 right now. Had an issue with 2.1 on my dev server, but that might not have been related to uComponents.
Lee, has this been resolved? Has v.2.1 been officially released? I've got 100 users sitting on their hands waiting for this ability before our site goes live very shortly. I promised them this ability based upon what I read.
Hi Connie,
This is happening with the regular Related Media datatype too right?
Are you by chance using Matt's Page Notifications package, and is there a notification on the affected page? I had the exact same issue and finally narrowed it down to that. After removing the notification Related Links works properly. Have been meaning to look into it but haven't had time lately.
Thanks,
Tom
As a matter of fact, we are using Page Notifications, which has issues as well. It pushes the divs below the bottom of the screen and you can't get to them.
I think you are thinking of the Notificaitons Dashboard - I was referring to the Page Notifications package that adds notifications to the top of certain pages (ie "This document is set to redirect to xxx")
You are correct. I realized after I posted my reply, so edited it. I just removed Page Notifications and low and behold, the problem is fixed! At least with Related Links. That's very odd and interesting how you were able to figure it out. My users will be so happy. I'll leave Page Notifications off for now since it's admin fluff and not critical to have it there.
Phfew, glad that issue is resolved!
We'll try to reproduce the issue with Related Links (with Media) and Page Notifications ... see if there's a code-fix for it.
Cheers, Lee.
FYI - I posted this on the Page Notifications forum but thought it might be useful here, too.
I have a patch to fix this issue in Page Notifications, along with the other issue where the Related Links datatype is affected by Page Notifications - postbacks aren't honoured and related links are not saved.
I think the core issue comes down to modification of the controls collection breaking Related Links.
To fix, grab the source from codeplex and update the ShowNotifications method from:
to:
Which uses jQuery at the bottom of the control collection (does not seem to affect Related Links) to prepend a message to the top of the page (inside the scrollable container).
6 months later... following up on this, I have patched the Page Notifications package (v1.0.1) - using Adam's code snippet as a basis (#h5yr Adam!)
is working on a reply...