How do I set up some custom document pages like you have on the plugin pages.
See my original open post, not had a response yet....
How do I customise document pages
Thanks,
Hi Martin,
We've done this in a plugin, to customize the display of documents in a community. I'm not exactly sure the extent of the customizations, but I can take a look at get back to you on the nature of the customizations
After taking a look at the customizations, there are some custom widgets which is the most of the customizations. There is also some customizations to the create and edit of documents in that space but the documents themselves are actually just documents.
Let me know if you have any specific questions on the widgets, or anything else.
Yes, how would I do this then. Not quite sure how this would work, and how it's driven.
i.e on your plugin pages there is a box for the developer, and the download links. Is that driven from the database? I.e if you;ve created a custom widget to allow these docs to be created, is it asking for that data when you create the document?
Thanks,
Martin
Well, they have customized the document create action to allow uploading a plugin, and when it uploads, it does some looking into the plugin files to pull out information, and then store it on the document. Those properties are then renedered in the customized document view template file like this:
<!-- Plugin Info -->
<div class="jive-widget">
<div class="jive-widget-header">
<h4>Plugin Info</h4>
</div>
<div class="jive-widget-body">
<ul class="plugin-info">
<li>
<strong>
<#if document.properties?exists && document.properties.pluginName?exists>
${document.properties.pluginName}
</#if>
</strong>
</li>.....
RE: if you;ve created a custom widget to allow these docs to be created
That's not a widget, that's customizing the java action classes
and RE: is it asking for that data when you create the document
Please see this document for more information: How to use the Jivespace Plugin Directory
Jive combines collaboration software, community software & social networking software into the leading SBS solution.
© Copyright 2000–2009 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205