MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Connecting new blog to blog container  (Mono Support )

Viewed 17699 time(s), 7 post(s) 11/28/2010 9:15:24 AMby jeebus626
jeebus626

jeebus626

11/28/2010 9:15:24 AM
Another basic question here:

I see in the sample blog page that the blog container is connected to MonoX blog; however, if I rename that blgo ro create a new blog, where do I go to set which blgo the blog container is pointed to? I checked page properties, but didn't see anything there... maybe I didn't know what to look for? Thanks in advance for the help.
This content has not been rated yet. 
0 Reputation 34 Total posts
denis

denis

11/28/2010 11:43:00 AM
Blog container relies on URL rewriting as search engine-friendly URLs are essential for high SE rankings. As MonoX support multi-blog environments, blog name (or more precise, blog slug, which encodes blog names in a standard URL compliant way, so My First Blog is converted to My-First-Blog) is by default displayed in a blog's URL. This can be changed in blog container properties (you will find 4 URL-related properties there), but I advise you not to change it initially. Instead, just change the URL for the blog page in the page admin. You'll notice that a navigational menu item for this page is not standard - instead, it is a "external page" item which allows you to change its URL by right clicking on the Blog item in the navigation hierarchy. Just change this URL to contain your blog name, so if the new name of your blog is "My blog" the new URL will be http://ww.mysite.com/blog/posts/my-blog/
All other URLs (insert, edit, single post view) should be adjusted automatically.
This content has not been rated yet. 
7207 Reputation 956 Total posts
jeebus626

jeebus626

11/28/2010 7:10:11 PM
Thanks again for your help - everything pointed over perfectly.

One minor issue that occurred when I renamed the blog was that some of the right-side web parts disappeard from the blog.aspx page; when I try to add them back to the page via the admin toolbar, their size and proportions are off a bit. What is the easiest way to restore the look and functionality of the original blog page to my new blog page?
This content has not been rated yet. 
0 Reputation 34 Total posts
denis

denis

11/29/2010 6:13:46 PM
Some of the right-side parts (tags, categories) are not shown if their content is empty. This can be changed, of course - there is a parametar called "HideIfEmpty", when it is set to false they will be shown regardless of their content.
As for the restoring the look of the page, you may use the Page management, right click on the page you want to restore and choose Manage Web parts. You will notice the link "Click here if you want to reset the personalization for the selected page". This will resest all personalization settings you've changed.
Creating new pages with arbitrary Web part layout is easier done in Visual Studio or some other code editor. You can always copy the existing pages and play with their modules before starting from scratch. Often used pages should be saved as page templates so you could use them without having to start from beginning every time you need a new page.
This content has not been rated yet. 
7207 Reputation 956 Total posts
jeebus626

jeebus626

12/1/2010 12:23:04 AM
Excellent. Another question:

After working with the blog for a day or so, I'm noticing that all of my posts show as being posted at 12:00AM. Is this merely because I don't set a publish date, or is there some sort of timestamp mechanism I failed to set in web.config?
This content has not been rated yet. 
0 Reputation 34 Total posts
jeebus626

jeebus626

12/1/2010 12:32:54 AM
OK, thought I had the hidden web parts figured out, but I can't find where to set the "HideifEmpty" checkbox; since the items are hidden, I can't find the "properties" button that would conceivably open the properties dialog that would allow me to set HideIfEmpty. I'm guessing I'm going about it wrong, so any help you can provide would be much appreciated...
This content has not been rated yet. 
0 Reputation 34 Total posts
denis

denis

12/2/2010 4:18:32 PM
"Hide if empty" checkbox should be present in all blog parts when you click on part "Properties" menu item and go to the admin toolbar. If the module is already hidden you will have to make it appear by entering at least one category or tag in the blog edit part, OR by changing the code of the Blog.aspx and removing properties there.
This content has not been rated yet. 
7207 Reputation 956 Total posts