Mail Archive Home | exoplatform List | April 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Pham Xuan Hoa wrote:
jeremie garcia wrote:thanks for the information, this is what I was looking for.
hi community,
I would like to know what should I modify or define in order to change the way a document is dysplayed with the content browser. for example I just would like to see the document content and skip the remaining parts: rate, vote, etc..
thanks
------------------------------------------------------------------------
--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Please look on your document view template. By default, the document
view template have vote & comment info, you can remove it for template.
Example, this is the code exo:article view1's template
.....
<div style="clear: both;"><span></span></div>
<div style="overflow:hidden;width:99.5%">
<div style="float:right; width:220px; margin-top:
10px ">
/_* #parse("jcr:/jcr:system/exo:ecm/templates/mix:votable/views/view1") *_/
</div>
</div>
</div>
</div>
</div> <div class="BottomLeftCornerDecorator">
<div class="BottomRightCornerDecorator">
<div class="BottomCenterDecorator"><span></span></div>
</div>
</div> <div style="margin:5px">
*/_#parse("jcr:/jcr:system/exo:ecm/templates/mix:commentable/views/view1")
_ /* </div> </div>
please remove these line. See more in ECMAdmin portlet/Manage Tempalte/exo:article
<style>
.UIArticle {
background-color: white;
} </style>#set($node = $uicomponent.getNode()) #set($relations = $uicomponent.getRelations()) #set($attachments = $uicomponent.getAttachments())
<div class="UIArticle">
maybe it comes from the content browser css, isn't it?
thanks a lot
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.