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
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.
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
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.
Jason, that would be most welcome! Please do that. Maybe post the code here meanwhile?
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
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.
Christos,
It looks like line #54 in BlogCreator.ascx.cs needs .ToString() added to it. So:
Replace
with
Hope this helps.
--
Donald
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
Had the same problem on a completely other type, thanks for the tip, saved me a lot of debugging time! / happy face
glad to hear it :)
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.