DefaultBlogPageSize Web.config setting

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/15/2007 4:29:30 AM
Gravatar
Total Posts 488

DefaultBlogPageSize Web.config setting

I examined the usage of DefaultBlogWebSize Web.config setting.

It is used in Blog_GetBlogs function in dbPortal.cs. But only in 2 data layers of 4.

Is that a bug? As far as I understand, the data layers should work identical...
3/15/2007 6:58:46 AM
Gravatar
Total Posts 18439

Re: DefaultBlogPageSize Web.config setting

Interestingly there was a bug in the 2 data layers that are using that (MySQL and SQLite) where it was reading the value reader[""] I had left out the field name, so I guess in that case it was actually using the config setting instead of the module setting from the db. I've fixed the field name issue.

That web.config setting is sort of legacy. It really get the page size from the module settings in the db. However, when I first made this change I was worried about about upgrade problems if the setting isn't in the existing db so I left that in there as a fallback.

I think it is probably best to leave that in there for now.

Joe
6/6/2007 4:49:41 AM
Gravatar
Total Posts 488

Re: DefaultBlogPageSize Web.config setting

As far as I can see, this setting is completely removed from the project. Thanks.

You must sign in to post in the forums. This thread is closed to new posts.