Mono Support "Discussion Topics" web part not available in catalog 

Viewed 41498 time(s), 3 post(s), 6/3/2014 1:13:01 PM - by gstadter
6/3/2014 1:14:44 PM
669 Reputation 67 Total posts

I noticed that there is a "Discussion Topics" web part (ModuleGallery/SocialNetworking/Discussion/DiscussionTopics.ascx) that is used on MonoX/Pages/SocialNetworking/Dashboard.aspx.
If I create a new page and try to add this web part, I can't find it anywhere in the catalog.
Is there a way I can add it to the catalog?
Or is my only option to edit the physical aspx page that MonoX created when I created the page in the admin UI and add the web part manually?

1
6/3/2014 10:00:45 PM
15993 Reputation 2214 Total posts

Hi,

the "DiscussionTopics.ascx" was built as a part of Discussion Module (DiscussionContainer.ascx) and it's not intended to be a stand-alone WebPart. So if you want to make it a stand-alone WebPart you should:

1. Create your own WebPart which is auto register WebPart (this will register WebPart in the gallery)
2. Add DiscussionTopics.ascx.cs WebPart to your newly created one
3. Copy the code from Dashboard.aspx demo page in order to control the topics part
4. Add your newly created WebPart path in the appSettings module gallery paths

Let us know if you need anything else.

Regards

2
6/5/2014 4:41:08 AM
669 Reputation 67 Total posts

I do absolutely understand that when it was created, it was intended to be used exclusively within a Discussion Container, but one of your developers saw value(which I agree with) in making this particular view(ascx) available outside of the context of a Discussion Container ...hence, as it is being delivered as part of the product, out-of-the-box, to anyone that downloads MonoX CMS on the Dashboard.aspx, outside of any Discussion Container.
Before creating this post, I had already manually added the control in the aspx pages where I wanted it to additionally appear.    By posting, I was merely suggesting that it is counter-intuitive(and potentially confusing to foks new to MonoX CMS) to have core functionality widgets(wall, discussion, blog, etc...) placed throughout sample aspx pages that cannot be duplicated/re-created from within the Admin UI.

3
This is a demo site for MonoX. Please visit Mono Software for more info.