I've installed the Blog For Umbraco package and it created a new folder under /Content/Blog and I have my main site configured under /Content/SiteXYZ
What I'm trying to do is as follows: The main site is not blog-centric, but I need to add a news section and there has to be the ability for listing archives, organizing posts by category (for which I'll be using tags). Seems like the Blog package would be an ideal choice but I'm having trouble getting started. I can't seem to get any of the Blog macros to render content in my SiteXYZ folder. For example, I have a static content page under SiteXYZ that I just want to put a list of Blog Tags on. So I add the macro to my page but the list never renders any content.
I thought maybe it was because of the current hierarchy where i have both SiteXYZ and Blog at the same levels in the content tree. So I've tried enabling the Blog child notetypes for my existing site's Document Types and then moving the whole blog folder under SiteXYZ so it now looks like this: /Content/SiteXYZ/Blog -- unfortunately that didn't work either.
Basically what I need to do is embed various Blog macros inside my main site. Can this be done?
Are you putting the macros in your RTE, or in the templates? The should be working out of the box as far as I know, so the question is what makes you site different.
If you just view the blog node directly, does that list the blog posts? Both inside your site, and as a separate top node?
Embedding blog macros inside an existing website?
I've installed the Blog For Umbraco package and it created a new folder under /Content/Blog and I have my main site configured under /Content/SiteXYZ
What I'm trying to do is as follows: The main site is not blog-centric, but I need to add a news section and there has to be the ability for listing archives, organizing posts by category (for which I'll be using tags). Seems like the Blog package would be an ideal choice but I'm having trouble getting started. I can't seem to get any of the Blog macros to render content in my SiteXYZ folder. For example, I have a static content page under SiteXYZ that I just want to put a list of Blog Tags on. So I add the macro to my page but the list never renders any content.
I thought maybe it was because of the current hierarchy where i have both SiteXYZ and Blog at the same levels in the content tree. So I've tried enabling the Blog child notetypes for my existing site's Document Types and then moving the whole blog folder under SiteXYZ so it now looks like this: /Content/SiteXYZ/Blog -- unfortunately that didn't work either.
Basically what I need to do is embed various Blog macros inside my main site. Can this be done?
Thanks in advance!
Hi
I think you might need to use the "RenderMacroContent" xslt extension to achieve this.
You can see an example of the usage in this post: http://our.umbraco.org/forum/developers/xslt/6994-XSLT-RenderMacroContent--?p=0#comment25792
Hope this helps.
/Jan
Are you putting the macros in your RTE, or in the templates? The should be working out of the box as far as I know, so the question is what makes you site different.
If you just view the blog node directly, does that list the blog posts? Both inside your site, and as a separate top node?
is working on a reply...