Ticket #970 (assigned defect)

Opened 14 years ago

Last modified 13 years ago

Document Portlet render image ignores possitioning customization

Reported by: avoinea@… Owned by: jmorliaguet
Priority: P1 Milestone: CPS 3.5.7
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

comment:1 Changed 14 years ago 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

comment:2 Changed 14 years ago by jmorliaguet

  • Keywords CSS added
  • 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

comment:3 Changed 14 years ago by ogrisel

  • Milestone changed from CPS 3.3.6 to CPS 3.4.0

comment:4 Changed 13 years ago by ebarroca

  • Milestone changed from CPS 3.4.0 to CPS 3.4.1

comment:5 Changed 13 years ago by sfermigier

  • Milestone changed from CPS 3.4.1 to CPS 3.4.2

comment:6 Changed 13 years ago by sfermigier

  • Milestone changed from CPS 3.4.2 to CPS 3.4.3
Note: See TracTickets for help on using tickets.