mojoPortal 2.1.6 Released

mojoPortal 2.1.6 is now available from the download page.

This release adds a new Site Statistics Module and some bug fixes.

This will be an easy upgrade if you are running mojoPortal 2.1.x with no custom modules of your own because there are no schema changes in the db. If using MS SQL or PostgreSQL you need to re-run the script that creates stored procedures.

If you have custom modules you have implemented yourself, you should test your code with the latest source code. There were some major namespace re-organizations that may have broken your custom code. See my previous blog post, and if you need help changing your code so it works with the new changes in mojoPortal, please post in the forums and I will try to help.

If you have custom skins, you may also need to tweak the css for the menu, see the included skins css files for changes I made there.

As always be sure and back up both your db and your site before attempting an upgrade. If you run into problems post in the forums and I will help.

Joe

Announcing mojoProject Project Management Solution

I'm very happy to announce a new sub project to implement a Project Management Solution based on the principles of the Project Management Institute (PMI), that integrates with mojoPortal.

Thiago Alves will be the Project Manager and Lead Developer for this project.

Read the details of the vision and scope for this project here: 

I will also be contributing development effort on this. I met Thiago on the Mono project mailing list and am very excited to be working with him.  I had been planning a project management feature for mojoPortal for a long time and when he mentioned that he was planning to implement a Project Management Solution that works with Mono I got very interested. So after talking about the goals for the project, I convinced him to collaborate and build on mojoPortal. This means he can get started right away on the features needed for project management and not have to spend development time on things like role based security, search infrastructure, skinning, and other infrastructure that every site needs.

We are also looking for corporate sponsors who might be interested in sponsoring some of the development for this project. I will be creating a new page on this site soon with information on sponsoring development of features for mojoPortal. The advantage to sponsoring development is that sponsored projects get more priority with development effort and sponsors get strong input on feature requirements to make sure the implemented feature meets their needs. Sponsoring open source development can be much more economical than developing features in house or hiring consultants to build custom applications. It could also be more economical if we can get multiple corporate sponsors to contribute, then the sponsorship cost to each can be reduced.

UPDATE: This project never made it past the planning stage.

Browser specific bug in Search

I just got a bug report about getting an error page on this site when trying to use the search feature. After looking into it, I cannot reproduce the problem using the latest Firefox browser, but with IE7 I get an error page 100% of the time.

I no longer have a machine running IE6 so I don't know if its just IE7 or not. If anyone out there has IE6 and can confirm if this error happens using it or not I would appreciate it. Anyone who finds this error does happen for them in Firefox please let me know, but so far it doesn't happen for me except in IE7.

Update: I also am not able to replicate this bug in IE7 using my local machine http://localhost/mojoportal/

Weird.

Thanks,

Joe

Update Again: In IE7 the error happens I think partly because of the cross page postback from the SearchInput control to SearchResults.aspx. Even more odd, is if I go straight to the page http://www.mojoportal.com/SearchResults.aspx and do a search with IE7 I get no error, but I also get no results.

Update Problem Solved:
It turns out that the cause of this was a little script I placed in my skin from Technorati that was supposed to just link to my technorati profile. Even though I saved my settings on technorati to not include their blog search button it was still doing it. Removing their script fixed the problem that was happening in IE when trying to do search on this site.

New Release Coming Soon

I just updated this site to the latest code for final testing before making a release, hopefully tomorrow or the next day.

You'll notice the new SiteStatisticsModule shown on the left side of the homepage. I borrowed the images for that from the DotNetNuke project, but the implementation is not based on theirs.

Any last minute testing that anyone can help with is much appreciated. The demo site is also running the latest code so you can easily help test there and let me know if you find any problems.

Significant Namespace changes in svn/branches/2.x

Heads up to those working from svn and those who have developed their own custom features.

I've done some major re-organization of namespaces that will require changes to custom modules/features you have developed (outside of mjoPortal svn) in order to keep in sync with the newest/next versions of mojoPortal

If you get branches/2.x and test your custom features you will find some things broken due to the namespace changes. The functionality has not been removed, just moved so if you have any trouble finding the new methods post in the forums and I will try to help.

Some of the changes include, moving SiteUtils out of mojoPortal.Business into mojoPortal.Web and moving some of its functionality into WebUtils in a new project mojoPortal.Web.Framework

The main goal of the changes was to remove the reference from mojoPortal.Business to System.Web and to organize things a little more. While namespace changes can be painful for those with custom features I think that these changes will be very beneficial in the long run and I will be happy to help anyone with the needed changes in their own libraries.

Because some of the business objects need some web specific extensions I created another class library project:
mojoPortal.Business.WebHelpers
which provides things like caching support and other extensions that require a reference to System.Web
These are the things that previously were in mojoPortal.Business and needed the reference to System.Web

I also added a class library:
mojoPortal.Web.Framework
where I have moved functionality that s useful to any web application, this library has no reference to mojoPortal.Business

A few key changes:
SiteUtils.GetCurrentSiteSettings() is now CacheHelper.GetCurrentSiteSettings()
SiteUtils.GetCurrentPage() is now CacheHelper.GetCurrentPage()
SiteUser.IsInRoles(...) is now WebUser.IsInRoles(...)
SiteUser.IsInRole(...) is now WebUser.IsInRole(...)

After some more testing I will likely make a new release of mojoPortal to get these changes out before making any changes that require db schema changes

Any help from the community in testing branches/2.x before the release is greatly encouraged and appreciated.