Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Raga Deep
Problem with Liferay widgets and scrollbars while sharing on other webpages
18 settembre 2012 5.34
Risposta

Raga Deep

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 22 agosto 2012

Messaggi recenti

Hello,

Background
I am currently using - Liferay 6.0.1 CE bundled with Tomcat 6.0.29 - and have an Asset Publisher that displays some content on a page. The page has a 3 column layout and display 3 different portlets in each of the columns. The intent is to quickly create portlets and embed them in another application using the code specified in the "Sharing" section that displays portlet code and how to use it using the Liferay widget script.

Problem
What we are noticing is that, the portlets have scrollbars when included on a different site. Following are screen shots of the site of how it looks on the Liferay managed pages vs including them using the Liferay widget.js.

Following is how the portlets look on a Liferay page


Following is how the portlets look when included on a different application, take a note of the scroll bars that appear to the right side of the portlets.


I have tried the below with no success
- setting height/width of the portlets when invoking the portlets
- setting scrollbar to none
- jQuery AutoHeight plugin as suggested by THIS forum posting

I also found THIS link that makes it sound like this is an open issue. Additionally the issue has been marked as trivial. I would think that this would be an important issue, as not everyone might want to use Liferay as a total solution. As in our case, we are trying to use certain aspects of Liferay CMS to quickly build portlets and use it in existing application framework.

How do we get rid of these scrollbars as this is unacceptable when including the portlets on other applications. Any help is greatly appreciated. Thanks!

-Deep
Hamish Campbell
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
10 settembre 2012 6.12
Risposta

Hamish Campbell

Punteggio: Junior Member

Messaggi: 87

Data di Iscrizione: 20 agosto 2008

Messaggi recenti

We have been wonting to use this functionality but never could because of this issue - anyone know how to solve this.
Raga Deep
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
18 settembre 2012 5.35
Risposta

Raga Deep

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 22 agosto 2012

Messaggi recenti

Any one? Has anyone used portlets on a separate application without the scrollbars?
Anna Silchenko-Wei
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
5 dicembre 2012 13.03
Risposta

Anna Silchenko-Wei

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 26 novembre 2012

Messaggi recenti

I have similar problem. My portlet partially shows up on the page. The scroll bar can be used to scroll down to see the content. Is there a way to display whole portlet content at once and without the scroll bar? Thank you.

Best Regards,
Anna