Display content page data inside custom widget in Telligent 6.0

Display content page data inside custom widget in Telligent 6.0

  • I am writitng a custom widget in Telligent 6.0 using Velocity Template Language. Is there a way I can display content page data inside this widget.

  • What do you mean by "display content page data"?

  • Get the content page HTML and display it in the widget.

  • Get content from another page/site and display it inside your custom widget?

  • Not from another site but from the content pages that I created in Telligent.

  • Anyone? In Community Server 5.5 I achieved this functionality by using c# code. I want to do the same in Telligent 6.0 using Velocity Template language.

    CommunityServer.Components.Content contentDisplay = CommunityServer.Components.Contents.GetContent(ContentPageName);

    string body = contentDisplay.Body;

  • There is a custom page widget, core_v2_customPage, but the only thing it exposes is a Current property which gets the current page from context. The Generic Content widget is what is used to put content on a page bug it only displays whatever content is added to it. I think you're going to have to create your own widget extension that basically does what you've described above. This should get you started: telligent.com/.../creating-new-widget-extensions.aspx

  • Very great guys. I like your content