Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen Davidson 216 posts 392 karma points
    Nov 22, 2012 @ 18:18
    Stephen Davidson
    0

    Twitter widget code not showing up

    Would there be any reason for the Twitter for Umbraco not to work with this site? I've also tried to create a macro'd script of the widget code supplied by twitter. Both do not render on the page but throw no errors...

    S

  • Chris Koiak 700 posts 2626 karma points
    Nov 22, 2012 @ 18:46
    Chris Koiak
    0

    No reason. Are there any errors in umbracoLog?

    I assume your trying to render a macro, which tbh I've not done in 4.10.

    Can you get a basic xslt macro to render?

  • Stephen Davidson 216 posts 392 karma points
    Nov 23, 2012 @ 11:11
    Stephen Davidson
    0

    Yeah i'm trying to render a macro. The plot thickens...I have created a really simple HTML macro and made it availble for editors.

    When i insert on any page within the MVC site it does not show up. I also have ublogsy running at the top level when i try to insert the macro into a post it works no problem.

    S

  • Chris Koiak 700 posts 2626 karma points
    Nov 23, 2012 @ 14:19
    Chris Koiak
    0

    That doesn't work in 4.10, you'll need to wait for 4.11 I believe.

    If you can't wait I've got an HTML extension that you can use, but you need to hardcode the macros that are available.

     

  • Stephen Davidson 216 posts 392 karma points
    Nov 23, 2012 @ 16:46
    Stephen Davidson
    0

    as if by magic 4.11 is out! I'll do the upgrade...

    looking at the code for showing news items on the article page i want to adapt this for the main site home page.

    var nodes = Model.Content.Children.Where(x => x.IsVisible() && x.IsDocumentType("NewsArticle")).OrderBy(x=>x.GetPropertyValue("createdDate"));

    Will the above code traverse down the nodes until it finds the Doc type?
    Regards,
    S
  • Chris Koiak 700 posts 2626 karma points
    Nov 23, 2012 @ 16:50
    Chris Koiak
    0

    I don't believe so, I think Children was the next level only.

    Try Model.Content.Descendents()

    I'm away to upgrade this package to 4.11......

     

  • Stephen Davidson 216 posts 392 karma points
    Nov 23, 2012 @ 16:53
    Stephen Davidson
    0

    i found a bug which i meant to post..in Affiliations.cshtml i had to change the last image to, image gen for me only...

    <img alt="@link3 logo" src="/ImageGen.ashx?image=@image3&width=150&height=150&Constrain=True" class="footerLogo" />

    S

               

  • Chris Koiak 700 posts 2626 karma points
    Nov 26, 2012 @ 16:08
    Chris Koiak
    1

    The Affiliations bug's been fixed in the updated version

  • Stephen Davidson 216 posts 392 karma points
    Nov 26, 2012 @ 16:26
    Stephen Davidson
    0

    Yip just about to try that out!

  • Stephen Davidson 216 posts 392 karma points
    Nov 28, 2012 @ 12:51
    Stephen Davidson
    0

    To confirm all is well in version 4.11, twitter feed displaying as it should...now which one of these posts if the answer?

    S

     

  • Angela Little 3 posts 23 karma points
    Nov 22, 2013 @ 19:31
    Angela Little
    0

    I am having this same issue.  Widget just wont show up.  Not sure how to handle. when I look at log files this is the only thing I really see.  Using Umbraco 4.11

     

    Debug admin (none) 21/11/2013 16:28:14 &lt;Action runat=&quot;install&quot; alias=&quot;addXsltExtension&quot; assembly=&quot;Twitter4Umbraco&quot; type=&quot;Twitter4Umbraco.XsltExtensions&quot; extensionAlias=&quot;twitter.library&quot; /&gt;
  • Amir Khan 1289 posts 2746 karma points
    Nov 25, 2013 @ 20:13
    Amir Khan
    0

    Hi Angela, not sure if this is related but I had issues with every twitter "widget" I used when twitter dropped support for the v1 API.

    https://dev.twitter.com/blog/api-v1-is-retired

  • Angela Little 3 posts 23 karma points
    Nov 25, 2013 @ 22:18
    Angela Little
    0

    yes thats exactly whats happening thank you!!! I am checking out the link now!! Appreciate the response!!!

  • Angela Little 3 posts 23 karma points
    Nov 26, 2013 @ 17:29
    Angela Little
    0

    Amir, if you have a second, do you think you could PM me? I have a couple of questions and it sounds like you may have had the same issue.  anglittle at icloud.com

  • 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.

Please Sign in or register to post replies