Return to Jive Software

Currently Being Moderated

Display Document Widget for CS and SBS

VERSION 4  Click to view document history

Created on: Mar 19, 2009 12:38 AM by mueller-ziebur - Last Modified:  Jun 2, 2009 2:02 AM by mueller-ziebur

Display Document Widget

This widget displays the body of a document...

Use Case

In Clearspace a wiki-style document is a pretty good way of managing content. What I was missing is the possibility to display the content of the document somewhere.

Why do need Display Document Widget ?

Well, you need to have Space-Admin rights to drag a Formated-text or HTML-Widget on a page. You don't want to give that right to a lot of people. Futhermore the content in those widgets is not managed !

How to use Display Document Widget ?

Install it through the admin-console, drag it somewhere and enter the Document ID. (Just the Number NOT the "DOC-"-Prefix :)

 

Configuration

  • docID: the Document ID. (Just the Number NOT the "DOC-"-Prefix :)
  •  

  • diplaySubject: Use the document-title or the user-defined title
  •  

  • teaser: Use the Document as Teaser
  • This Options displays a more Tag in the Widget, if a <!--more--> is inserted in the Document-HTML source.

    Important: Be carefull where you insert the <!--more--> -Tag in the HTML-Source. You can mess up the whole Page ! e.g. DON'T do something like this: <div><!--more--></div>

  • footer: Displays edit and view for the document in a footer
  •  

     

     

    Cheers Stephan

2,129 Views Tags: widget, documents, display
Average User Rating
(3 ratings)
Ted Hopton Ted Hopton  says:

If I understand correctly, this would meet a long-requested need from our community. Thanks for sharing, and I look forward to trying it out!

Andy Goldstein Andy Goldstein  says in response to Ted Hopton:

This looks like a promising plugin!  Would you be willing to share the source code?

mueller-ziebur mueller-ziebur  says in response to Andy Goldstein:

Yes I will do so in the next release....

 

If there are further feature requests, feel free to post them here....

mueller-ziebur mueller-ziebur  says in response to mueller-ziebur:

added a revision:

     - fixed a little bug in the ftl.

Eric Butler Eric Butler  says:

This is still my favorite widget!  We are upgrading to SBS, and in my UAT I can't get this plugin to work.  Have you done any testing on SBS by chance?

mueller-ziebur mueller-ziebur  says in response to Eric Butler:

Hi Eric,

 

I havent done any testing on SBS yet. Will do so in the next couple of days, to provide a version for SBS...

 

 

Cheers Stephan

mueller-ziebur mueller-ziebur  says in response to mueller-ziebur:

I checked it with SBS. Works fine now.

I found a wrong css reference in the ftl.

SBS was complaining about that...

 

have phun....

Ted Hopton Ted Hopton  says in response to mueller-ziebur:

Sorry to ask some rookie questions, but I've installed the widget and don't see how to use it in a regular document. It shows up among all the other widgets when I customize a space overview page, and works fine there. But you have to have space admin permissions to customize that page.

 

I thought I would be able to add this widget to an ordinary document, not just on the space overview pages. Am I incorrect? That's actually the feature that we want to add.

mueller-ziebur mueller-ziebur  says in response to Ted Hopton:

Hi Ted,

 

the idea here is, that the Space- / community admin can add the widgt in the customize-Overview of a community or in the personalize-view, etc.. once he designs the layout of the community (which has to be done anyway   and the content of the document is managed / moderated outside...

 

SBS / CS does not provide a way "out of the box" to customize the document view (/community/somecommunity?view=documents) like the overview-page-(if thats what you meant).. In order to do that you have to do a lot more .....

 

Cheers Stephan

Ted Hopton Ted Hopton  says in response to mueller-ziebur:

Ah, I see. Thanks for explaining.

Andy Goldstein Andy Goldstein  says in response to mueller-ziebur:

Hi Stephan,

 

If you're still willing to, would you please post the source code when you get a chance?

 

Thanks,

Andy

mueller-ziebur mueller-ziebur  says in response to Andy Goldstein:

the source is included now. The plugin-jar is in the dist-folder..

 

Cheers Stephan

Eric Butler Eric Butler  says in response to mueller-ziebur:

The plugin works like a champ in SBS (v3.0.3).  Thanks Stephan!

Download Plugin for

Plugin Info

  • idmedia_display_doc_plugin
  • by mueller-ziebur
  • Compatible with 2.5.x
  • Last updated: 03/20/2009

Bookmarked By (2)

More Like This

  • Retrieving data ...