Nigel, did you get it resolved then? Like i've said it's been a while. I don't even remember where the problem was so if that's all it needs to fix it then the credit is all yours!
I'll make sure to add it soon (i also need to upgrade the package to umbraco 7 anyway)
Image path not relative
Installed user plugin - however the image path is not relative so you get a missing image on any sub content pages
In the CHTML, change it to this and let me know if it works
@inherits umbraco.MacroEngines.DynamicNodeContext @using umbraco.NodeFactory; @using umbraco.MacroEngines; @using System.Configuration; @{ DynamicNode node = Library.NodeById(Model.Id); string ThemesFolder = ConfigurationManager.AppSettings["SocialMediaThemeFolder"] == null ? "~/usercontrols/themes/" : ConfigurationManager.AppSettings["SocialMediaThemeFolder"].ToString(); Social_Media_Channels.Engine.Manager manager = new Social_Media_Channels.Engine.Manager(ThemesFolder, false, true); Social_Media_Channels.Engine.Manager tmp; string propertyName = "contactSocialMediaChannels"; //set the property name in case it was changed try { tmp = Social_Media_Channels.Engine.Utilities.JsonHelper.JsonDeserialize<Social_Media_Channels.Engine.Manager>(node.GetPropertyValue(propertyName)); manager.ShowLabels = tmp.ShowLabels; manager.LoadSelectedTheme(tmp.CurrentThemeID); manager.LoadSavedUrls(manager.CurrentTheme, tmp.CurrentTheme); } catch { tmp = new Social_Media_Channels.Engine.Manager(ThemesFolder, false, true); } } <ul class="social-channels" id="social-channels"> @if (tmp.CurrentTheme != null) { foreach (Social_Media_Channels.Entities.Channel channel in manager.CurrentTheme.Channels) { if (channel.Url != "") { <li class="social-channel"> @Html.Raw(Social_Media_Channels.Engine.Manager.RenderRawA(manager.CurrentTheme, channel)) @if (manager.ShowLabels) { <span class="label"><a href="@channel.Url" target="_blank">@channel.Name</a></span> } </li> } } } else { <li class="social-channel">@Dictionary["[Corporate][Page Data]No Channels"]</li> } </ul>Nope. Sorry
Sorry Nigel, I have had an issue with it as well but never got around to fixing it... i'll look at it and will let you know
All we need is a forward slash at the start!
All we need is a forward slash at the start!
Sorry if I'm stating the obvious as I'm sure you know that. But sometimes...you never know
PS - Reposted as previous message is breaking the forum!
Nigel, did you get it resolved then? Like i've said it's been a while. I don't even remember where the problem was so if that's all it needs to fix it then the credit is all yours!
I'll make sure to add it soon (i also need to upgrade the package to umbraco 7 anyway)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.