New to uBlogsy, how to add uBlogsy to an existing site
Hi,
I am new to uBlogsy. What would be the best way to add uBlogsy
to an existing site? My site already has lots of contents.
To test and practice, I’ve just tried installing uBlogsy on
top of the business starter kit, but uBlogsy stays beside the root content as a
sibling, not child. Then I moved uBlogsy as a child of the site root folder, but
uBlogsy’s navigation does not integrate with the main site and it lists only nodes
inside the uBlogsy’s folder.
I have a feeling that I am not doing it in a right way. Also
I like to upgrade to uBlogsy V2 when it becomes available.
uBlogsy can exist anywhere in your tree. You just need to modify the base master page. ie. the one which has the <html> tag. Make it inherit from your own master page.
Also take out the navigation if ublogsy is not the root.
Thank you for help. Also, thank you very much for the great work.
The only outstanding issue left is the navigation.
I like to use razor macros and I hope that I use uBlogsyNavigation for the whole site. I went through uBlogsyNavigation.cshtml file and I changed this line:
New to uBlogsy, how to add uBlogsy to an existing site
Hi,
I am new to uBlogsy. What would be the best way to add uBlogsy to an existing site? My site already has lots of contents.
To test and practice, I’ve just tried installing uBlogsy on top of the business starter kit, but uBlogsy stays beside the root content as a sibling, not child. Then I moved uBlogsy as a child of the site root folder, but uBlogsy’s navigation does not integrate with the main site and it lists only nodes inside the uBlogsy’s folder.
I have a feeling that I am not doing it in a right way. Also I like to upgrade to uBlogsy V2 when it becomes available.
Any help would be appreciated
You're on the right track.
uBlogsy can exist anywhere in your tree. You just need to modify the base master page. ie. the one which has the <html> tag. Make it inherit from your own master page.
Also take out the navigation if ublogsy is not the root.
Hi Anthony,
Thank you for help. Also, thank you very much for the great work.
The only outstanding issue left is the navigation.
I like to use razor macros and I hope that I use uBlogsyNavigation for the whole site. I went through uBlogsyNavigation.cshtml file and I changed this line:
var nodes = new DynamicNode(Model.Id)
.AncestorOrSelf(1)
//.DescendantsOrSelf("uBlogsyPage")
.DescendantsOrSelf("HomePage")
.Items
.Where(x => x.GetProperty("umbracoNaviHide").Value != "1");
But it just shows the “Home” link on the menu. Is there any quick way to generalize uBlogsyNavigation.cshtml and use it everywhere?
is working on a reply...