Simple Feature to add

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.
7/11/2011 10:11:46 AM
Gravatar
Total Posts 199

Simple Feature to add

What I want to do is create a new "user control" project in visual studio 2010 that I can compile to a dll along with a .ascx page (just as I normally do).  Then I would like to add that dll to the bin folder in mojo and then use that .ascx control as a feature which shows up in the feature drop menu that I can drop into any page like all the other features.

Hopefully someone can direct me here with either an answer or documentation.

7/11/2011 10:12:24 PM
Gravatar
Total Posts 355

Re: Simple Feature to add

What you'll want to look at is this series: "Building a Guestbook" - this is Joe Audette's video guide to building a custom feature that can be incorporated into MojoPortal like you're wanting to do.  It may present a bit of a learning curve at first, but once you get the hang of the details, it's not that difficult to do. I've written a couple of custom features for MojoPortal for my own clients; the best part is that once you've got it down, re-using the code's a snap.

7/12/2011 12:01:48 PM
Gravatar
Total Posts 18439

Re: Simple Feature to add

The videos will show you how to setup projects and use a post build event to copy up your user control and dll to the main web, as well as how to use the installation system. However some things in the video are out of date like the standard markup you should use in your UserControl to make it style like other features has changed since those videos were made. The Hello World example code has been updated to show the newer markup, or you can review the code for other included features in mojoPortal. You could manually install it as described in the hello world article or you could use the installation system which is the preferred way to do it.

Hope that helps,

Joe

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