Copied to clipboard

Flag this post as spam?

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


  • Christos Vogiatzis 9 posts 25 karma points
    Jan 12, 2010 @ 15:56
    Christos Vogiatzis
    0

    Multiple blogs error

    Hi, 

    Is it possible to create multiple blogs for a site with blog 4 umbraco. I tried to use the "Create a new blog" functionality of the "Content" node but i get the following exception:

    Operand type clash: int is incompatible with ntext

    Does anyone else sees the same behavior?

    Thanks, 

    Christos

     

  • Jason Prothero 416 posts 1226 karma points c-trib
    Feb 16, 2010 @ 19:45
    Jason Prothero
    0

    Yes, I have a site with multiple blogs.  However, I didn't see this issue. 

    I did make a few mods to the Content node post dashboard to support multiple blogs.  I'll try to submit it back to the project as a patch.

  • Daniel Lindstrom 454 posts 271 karma points
    Feb 17, 2010 @ 10:01
    Daniel Lindstrom
    0

    Jason, that would be most welcome! Please do that. Maybe post the code here meanwhile?

  • Jason Prothero 416 posts 1226 karma points c-trib
    Feb 18, 2010 @ 18:31
    Jason Prothero
    0

    Yes, I will post a blog about it and post the link here.  I just have to get everything together :)

    If you need something immediate, feel free to email me at jason at proworks dot com and I can send you over the code.

    Thanks,
    Jason

  • Jason Prothero 416 posts 1226 karma points c-trib
    Mar 11, 2010 @ 21:10
    Jason Prothero
    1

    I blogged about it here:

    http://www.proworks.com/blog/2010/03/blog-4-umbraco-modification-allow-posting-to-multiple-blogs-from-the-dashboard/

     

    There are still a couple issues we're working through, but its close.

  • Donald St. Martin 83 posts 128 karma points
    Mar 12, 2010 @ 16:33
    Donald St. Martin
    0

    Christos,

    It looks like line #54 in BlogCreator.ascx.cs needs .ToString() added to it. So:

    Replace

    d.getProperty("owner").Value = User.GetCurrent().Id;

    with

    d.getProperty("owner").Value = User.GetCurrent().Id.ToString();

    Hope this helps.

    --
    Donald

  • Robert Foster 440 posts 1684 karma points MVP admin c-trib
    Oct 14, 2010 @ 16:23
    Robert Foster
    1

    Actually, the fix is a fair bit simpler than that.  If you are still experiencing this issue, then you can resolve it without actually recompiling anything by going to the Author Picker datatype in the Developer section and changing the database datatype to nvarchar (it was ntext on my installation right after installing the Blog 4 Umbraco package).

    Note also, if you have installed uComponents alongside Blog 4 Umbraco, then you won't have the option for changing the database datatype, as uComponents overrides the User Picker render control.  In this case, simply saving the data type should do the trick.

    If you need any more information about it, I've blogged about it over here: http://refactored.com.au/blog/2010/10/15/blog-4-umbraco-conflict-with-ucomponents

  • Jonas Eriksson 930 posts 1825 karma points
    Nov 16, 2011 @ 20:57
    Jonas Eriksson
    0

    Had the same problem on a completely other type, thanks for the tip, saved me a lot of debugging time! / happy face

  • Robert Foster 440 posts 1684 karma points MVP admin c-trib
    Nov 17, 2011 @ 03:10
    Robert Foster
    0

    glad to hear it :)

  • 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