Ticket #970 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

Document Portlet render image ignores possitioning customization

Reported by: avoinea@nuxeo.com Assigned to: jmorliaguet (accepted)
Priority: P1 Milestone: CPS 3.5.0
Component: CPSDefault Version: 3.3.6
Severity: normal Keywords: CSS Document Portlet CPSPortlets
Cc:

Description

This occurs only when rendering a specified document elsewhere than in the rendered doc's container.

Change History

09/29/05 17:10:05 changed by jmorliaguet

  • status changed from new to assigned.

Have you tried with the latest trunk version? The bug is in 3.3.6 but I did a correction yesterday concerning the document's rendering context in [27686] which was incorrect.

Otherwise the document portlet just calls:

 doc.render(proxy=proxy, cluster=cluster_id)

so there could be a problem in CPSDocument too

09/29/05 17:58:55 changed by jmorliaguet

  • keywords changed from Document Portlet CPSPortlets to CSS Document Portlet CPSPortlets.
  • component changed from CPSPortlets to CPSDefault.

This is a stylesheet problem.

The layout information is in document.css, but only default.css / boxes.css are used if the current location is a folder (folder_view)

if you add:

/cpsdocument_view

at the end of the URL it will work. So the solution (for the moment) is to add a 'document.css' stylesheet in the folder_view.pt template.

finally the bug has more to do with the way css resources are used than the document portlet itself. I would say that it is related to #837

10/27/05 21:13:07 changed by ogrisel

  • milestone changed from CPS 3.3.6 to CPS 3.4.0.

02/22/06 20:16:20 changed by ebarroca

  • milestone changed from CPS 3.4.0 to CPS 3.4.1.

05/16/06 19:38:55 changed by sfermigier

  • milestone changed from CPS 3.4.1 to CPS 3.4.2.

05/19/06 16:49:08 changed by sfermigier

  • milestone changed from CPS 3.4.2 to CPS 3.4.3.