I've been playing around with siteUrls.config today with very limited success. I must be missing something. Here's what I want to do:
Assume there is a page at Web/Themes/hawaii/blogs/MyPage.aspx. I don't want this path showing up in the address bar of the browser. Is there a way to show the user a path of /MyBlogs/MyPage.aspx, but still have it bring up the Web/Themes/hawaii/blogs/MyPage.aspx page?
Can these easily be remapped, or would it be easier to create a MyBlogs folder, move everything over there, and change all of the links in the code?
Thank you,
Rick
Open up the SiteUrls.config file. Look for Weblog named Urls. Try and copy one of them, see if your can get it working right. Start with the Weblog_Home or something along those lines
Nick - nb development
This post might also be of help
http://dev.communityserver.com/forums/t/500765.aspx
I am back to working on this again. That last post did help, thank you. However, I am having trouble testing SiteUrls.config because the changes I make to SiteUrls.config are not always included when I run the application. How is this being cached? I clear out all of my temporary internet files and cookies, etc. and I still have the old version of SiteUrls. After a while, the new version shows up, but it is very frustrating trying to test. Any ideas why I can't always get the latest version of siteurls to show up? I am running in a development environment out of visual studio.
Thanks!
Changes to siteurls.config (or communityserver.config and those made through _override.config files) do not take effect until you've restarted the web application - this is typically done by recycling the website's application pool, or touching web.config.
Community Server Documentation please rate articles you read
Nintendo Wiikly | My Blog
Rick, just open SiteUrls and then save it.
Changing SiteUrls doesn't cause it to be reloaded, that was my whole problem. Also, touching webconfig doesn't make much sense since it is in source control. Each developer would have to check it out, touch it, check it back in each time.
However, I did find out a way to get all of the changes included when running from a Visual Studio development environment. Close the Development Server and let it start up again next time you run. That way all changes to SiteUrls are included.
Thanks for the help.
Btw, one thing you should be aware of - CS08 doesn't support the VS Development Server. It works enough to do development on, but you shouldn't do any of your QA using that - you should use IIS instead.
afscrome: ...one thing you should be aware of - CS08 doesn't support the VS Development Server...
...one thing you should be aware of - CS08 doesn't support the VS Development Server...
Really? I wasn't aware of that. Where can I find the specific incompatibilities?
We are using IIS for QA, but if that works differently than what the developers are using, that might cause some problems. Thanks for the heads up.
From what I understand, the differences between the two are that some areas don't work full stop in the development server. It should also be noted that if you're publishing to an IIS7 website under hte itnegrated pipeline, the VS development server runs in classic pipeline so that may also cause a few problems.
If I remember correctly, the main problem is with the cfs file handler not working (this serves media gallery files, site files, avatars etc.), although this may have been fixed in SP1.
afscrome:the main problem is with the cfs file handler not working (this serves media gallery files, site files, avatars etc.), although this may have been fixed in SP1.
I have noticed that the avatars and the site logos do not display when running through VS. This is still a problem with SP1. I also noticed that the built-in search control would blow up when trying to search in forums, groups, and blogs when running the VS, but we wrote our own search control anyhow.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com