How to add ImageGallery module to Blog module?

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.
1/27/2012 8:51:43 AM
Gravatar
Total Posts 2

How to add ImageGallery module to Blog module?

I managed to add imagegallery module to my blog module(a clone). So I can see the image gallery on EditPost.aspx page but when I try to add a new image I get an error, null reference, on EditImage.aspx page. module is null

 

Module module = GetModule(moduleId, Gallery.FeatureGuid);
galleryImage.ModuleGuid = module.ModuleGuid; 

 

not sure whether my attempt to use the moduleWrapper to integrate a module into a mojoBasePage page from another module is the right way to do it?

1/30/2012 9:19:33 PM
Gravatar
Total Posts 355

Re: How to add ImageGallery module to Blog module?

Victor,

You might find it simpler to just extend the functionality of the Blog feature to include an image gallery display leveraging a jQuery gallery, rather than re-purposing the image gallery module built into mojoPortal. Presumably, a gallery associated with a blog entry wouldn't need to be quite so robust, so extending the blog entry attributes to include images to be associated with the entry might be your smoothest bet.

7/23/2012 12:24:29 PM
Gravatar
Total Posts 3

Re: How to add ImageGallery module to Blog module?

Hi,

I managed to integrate the imageGallery module into the blog module you can see the result here http://realtoras.com

It is a real estate ads website. It should handle lots of ads and images so imageModule works for me. Thanks!

7/23/2012 12:53:22 PM
Gravatar
Total Posts 355

Re: How to add ImageGallery module to Blog module?

Victor,

Good job! What approach did you use to accomplish this?

7/23/2012 1:38:34 PM
Gravatar
Total Posts 3

Re: How to add ImageGallery module to Blog module?

I've used the moduleWrapper to do that, in this way any upgrades to mojoportal(including blog&imageGallery modules) will work 

7/23/2012 2:02:12 PM
Gravatar
Total Posts 355

Re: How to add ImageGallery module to Blog module?

Excellent - a great way to extend the built-in capabilities. 

12/25/2012 12:22:05 PM
Gravatar
Total Posts 2

Re: How to add ImageGallery module to Blog module?

Could you Explain how you did that ???
Please I need it

12/25/2012 12:31:53 PM
Gravatar
Total Posts 2

Re: How to add ImageGallery module to Blog module?

I don't know from the top of my head, I did it for a real estate website about a year ago.

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