This widget displays the body of a document...
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.
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 !
Install it through the admin-console, drag it somewhere and enter the Document ID. (Just the Number NOT the "DOC-"-Prefix :)
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>
Cheers Stephan
This looks like a promising plugin! Would you be willing to share the source code?
Yes I will do so in the next release....
If there are further feature requests, feel free to post them here....
added a revision:
- fixed a little bug in the ftl.
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?
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
I checked it with SBS. Works fine now.
I found a wrong css reference in the ftl.
SBS was complaining about that...
have phun....
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.
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
Hi Stephan,
If you're still willing to, would you please post the source code when you get a chance?
Thanks,
Andy
the source is included now. The plugin-jar is in the dist-folder..
Cheers Stephan
The plugin works like a champ in SBS (v3.0.3). Thanks Stephan!
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!