I'd like to configure CS so when a user visits my site the first thing they see is my blog (the sponsor). But I could not find in the docs as to how to do that.
Is it is possible?
Thanks,
Patrick
Download and try this:
http://qgyen.net/archive/2006/02/01/1357.aspx
Sam
This did not work as expected as actually caused my site to start having errors. Site name is 'stopdoingnothing.com'. If you go look under blogs you will see that there is one blog there that I want to make the default page whenever anybody goes to the base domain name. I'd even be OK if the visitors just go to the blog section because there is only one blog there. After I made the mods you could not read an individual blog post, and there were some other errors showing on the site. I backed it out for now.
in communityserver.config I added:
<add name = "SiteUrlsDataProvider" type = "Qgyen.ExtendedUrlMapping.SiteUrlsData, Qgyen.ExtendedUrlMapping" path = "SiteUrls.config" /> <add name = "UrlReWriteProvider" type = "Qgyen.ExtendedUrlMapping.UrlReWriter, Qgyen.ExtendedUrlMapping" />
and in the siteurls.config I added:
<extendedMappings> <add path="/" newPath="/blogs" /> </extendedMappings>
Did you comment out or remove this in communityserver.config?
<add name = "SiteUrlsDataProvider" type = "CommunityServer.Components.SiteUrlsData, CommunityServer.Components" path = "SiteUrls.config" />
Apart from that it looks ok from here.
Yes I did. Followed the directions to a T.
I might do a local install and try it there again.
Can you give some pointers as to what the errors were?
The exceptions report in the Admistration part of the control panel might be helpful here.
Well what indications were there that there was an error?
patrick24601:This did not work as expected as actually caused my site to start having errors. Site name is 'stopdoingnothing.com'. If you go look under blogs you will see that there is one blog there that I want to make the default page whenever anybody goes to the base domain name. I'd even be OK if the visitors just go to the blog section because there is only one blog there. After I made the mods you could not read an individual blog post, and there were some other errors showing on the site. I backed it out for now.in communityserver.config I added: <add name = "SiteUrlsDataProvider" type = "Qgyen.ExtendedUrlMapping.SiteUrlsData, Qgyen.ExtendedUrlMapping" path = "SiteUrls.config" /> <add name = "UrlReWriteProvider" type = "Qgyen.ExtendedUrlMapping.UrlReWriter, Qgyen.ExtendedUrlMapping" /> and in the siteurls.config I added: <extendedMappings> <add path="/" newPath="/blogs" /> </extendedMappings>
If you intend to have an actual blog as the home page then you have to add the path to the blog and not the blogs aggregate page like this:
<extendedMappings> <add path="/" newPath="/blogs/myblog" /> </extendedMappings>
Rick Reszler
Hi, if I understand correctly, I think Patrick is wanting to do the same thing I do (http://communityserver.org/forums/566894/ShowThread.aspx#566894).
Wizard, if you could post a step-by-step on how to achieve this that would be great.
I really thought this would be a quick configuration or update of a menu link and I would be done. So far I've spent hours trying to get this to work. Surely it must be possible to do this by just changing a link somewhere? Do I have to install third party add-ons and extenders just to change where the menu links to?
Any help greatl appreciated.
As promised! Single Blog Only - Community Server 2.1
NameValueCollection
Using the above three steps only, i was able to achieve displaying either a single blog as my home or the aggregate blogs page as my home, without the need for the extended URI dll. The code added to the Default.aspx is generic in that it will redirect to what have path you used for "home" in your SiteUrls.config file.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com