Widgets: Is there a website where TC5 widgets are shared?

Widgets: Is there a website where TC5 widgets are shared?

This question is answered

hi all, I'm wondering if there is a website out there that has a community / sharing of Community Server Widgets?  I'm looking for sample code on Widgets.  I've looked at the widgets included on this site (tweeter sample and the group posted by Alex Chrome).  I've also read the documentation on how to implement a basic widget.  I wish there was more documentation on the different controls and more sample code.

My programming experience is at junior level but I was hoping to find some community (no phun attended) that widgets are shared so I can look at the underlying code.

thanks in advance

Verified Answer
  • Have you taken a look at the platform SDK - telligent.com/.../telligent-evolution-platform-sdk.aspx .

  • I'm getting 404 errors clicking on anything on that SDK page...

  • I was able to click on the link and get to the page.  Alex, yes I looked at that SDK.  It is helpful but maybe with my lack of experience - I just need to see some more examples.  I understand the concept of the widgets, I can understand the C# (the nuts and bolts) on what is going on.  I implemented the Twitter example and I understand what is going on there....but I'm having hard time with the CSControls/Community.Server Code behind (Finding a list of CSControls/CommunityServer Code Behind was near impossible to find..matter of fact, I couldn't find it on telligent.com but I cannot locate any examples) so I'm just hacking my way through it.

    What would be really awesome if there is a way to see the Telligent widgets source code but I assume that is protected/part of licensing.  We are licensed for Telligent Community 5 but I don't know if it entitles us to source code (not sure how the back office works for this stuff)....thus, I was hoping to find a community somewhere where people exchange open source Widgets and I could see what the code behind looked like so I could implement the widget I'm looking to do.

  • Alex, do you think it is possible to get a peek of the source code of the current Telligent Widgets or do you know of a place I can find other widgets that people share?

  • The SDK has a lot of the source for the Widgets.  You'll have to dig around to find all of the pieces, but they are there.  Look in the "ContentFragments" folders of most areas.  For example, I've been poking around the ForumThreadList widget.

    From the SDK, you have these files:

    CommunityServer.Forums\ContentFragments\ThreadList.cs is a widget that is externally implemented.

    The external implementation can be found in CommunityServer.Web/Utility/ContentFragments/Forums/ForumThreadList.ascx

    This user control conditionally displays two different user controls: ForumThreadListSimpleView.ascx and ForumThreadListStandardView.ascx in the same directory.

    ForumThreadListSimpleView.ascx uses the tag <CSForum:ThreadList> which is implemented as a class defined in CommunityServer.Forums\Controls\Threads\ThreadList.cs

    etc.

    So, as you keep stepping through the different pieces of the SDK, you can get a complete picture of how the Widget is actually implemented.

  • I grabbed the SDK from telligent.com for 5.0 and I don't see those files.  I believe you have the full source code which I don't have.  

    I heard (maybe somebody from telligent can correct me if I'm wrong) that if we accept the source code from telligent, this voids any support? (I Understand there is no technical support for custom components but it pretty much voids tech support for anything)...is that a true statement?

  • The developer SDK should have everything you need.  Is that what you have?  

    http://telligent.com/community/developers/w/wiki/telligent-evolution-developer-software-development-kit.aspx

  • let me review the SDK again.  The code that Layne mentioned above is not part of the SDK.

  • Just to clarify there are two separate SDKs - the Platform SDK I referred to earlier up this thread, and the Developer SDK Elijah and Layne referred to.

  • Ok, I think I'm seeking the Developer SDK.  If I have a license with telligent community, I can get this Developer SDK?

  • See telligent.com/.../telligent-evolution-developer-software-development-kit.aspx for more details on the Developer SDK.  Any licensed customer can access the SDK upon signature of an additional agreement.  For further details see the above article.

  • Ok thanks.  I will check it out.

All Replies
  • Have you taken a look at the platform SDK - telligent.com/.../telligent-evolution-platform-sdk.aspx .

  • I'm getting 404 errors clicking on anything on that SDK page...

  • I was able to click on the link and get to the page.  Alex, yes I looked at that SDK.  It is helpful but maybe with my lack of experience - I just need to see some more examples.  I understand the concept of the widgets, I can understand the C# (the nuts and bolts) on what is going on.  I implemented the Twitter example and I understand what is going on there....but I'm having hard time with the CSControls/Community.Server Code behind (Finding a list of CSControls/CommunityServer Code Behind was near impossible to find..matter of fact, I couldn't find it on telligent.com but I cannot locate any examples) so I'm just hacking my way through it.

    What would be really awesome if there is a way to see the Telligent widgets source code but I assume that is protected/part of licensing.  We are licensed for Telligent Community 5 but I don't know if it entitles us to source code (not sure how the back office works for this stuff)....thus, I was hoping to find a community somewhere where people exchange open source Widgets and I could see what the code behind looked like so I could implement the widget I'm looking to do.

  • Alex, do you think it is possible to get a peek of the source code of the current Telligent Widgets or do you know of a place I can find other widgets that people share?

  • The SDK has a lot of the source for the Widgets.  You'll have to dig around to find all of the pieces, but they are there.  Look in the "ContentFragments" folders of most areas.  For example, I've been poking around the ForumThreadList widget.

    From the SDK, you have these files:

    CommunityServer.Forums\ContentFragments\ThreadList.cs is a widget that is externally implemented.

    The external implementation can be found in CommunityServer.Web/Utility/ContentFragments/Forums/ForumThreadList.ascx

    This user control conditionally displays two different user controls: ForumThreadListSimpleView.ascx and ForumThreadListStandardView.ascx in the same directory.

    ForumThreadListSimpleView.ascx uses the tag <CSForum:ThreadList> which is implemented as a class defined in CommunityServer.Forums\Controls\Threads\ThreadList.cs

    etc.

    So, as you keep stepping through the different pieces of the SDK, you can get a complete picture of how the Widget is actually implemented.

  • I grabbed the SDK from telligent.com for 5.0 and I don't see those files.  I believe you have the full source code which I don't have.  

    I heard (maybe somebody from telligent can correct me if I'm wrong) that if we accept the source code from telligent, this voids any support? (I Understand there is no technical support for custom components but it pretty much voids tech support for anything)...is that a true statement?

  • The developer SDK should have everything you need.  Is that what you have?  

    http://telligent.com/community/developers/w/wiki/telligent-evolution-developer-software-development-kit.aspx

  • let me review the SDK again.  The code that Layne mentioned above is not part of the SDK.

  • Just to clarify there are two separate SDKs - the Platform SDK I referred to earlier up this thread, and the Developer SDK Elijah and Layne referred to.

  • Ok, I think I'm seeking the Developer SDK.  If I have a license with telligent community, I can get this Developer SDK?

  • See telligent.com/.../telligent-evolution-developer-software-development-kit.aspx for more details on the Developer SDK.  Any licensed customer can access the SDK upon signature of an additional agreement.  For further details see the above article.

  • Ok thanks.  I will check it out.