Foren

SLIDESHOW PORTLET

jpshowtime jpshowtime, geändert vor 18 Jahren.

SLIDESHOW PORTLET

New Member Beitrag: 1 Beitrittsdatum: 10.05.05 Neueste Beiträge
Hello,<br /><br />I&#39;m looking for a slideshow portlet. I found a slideshow portlet very good, but the problem is it&#39;s a portlet of the Portal PEPO:<br /><a href='http://pepo.alterna.tv/web/PortletCentral_en.html' target='_blank'>http://pepo.alterna.tv/web/PortletCentral_en.html</a><br /><br />If someone have developed this kind of portlet, i&#39;m very interested&#33;<br />Thanks a lot
thumbnail
argaldo argaldo, geändert vor 18 Jahren.

SLIDESHOW PORTLET

Junior Member Beiträge: 72 Beitrittsdatum: 18.05.05 Neueste Beiträge
Hello,<br /><br />I&#39;m looking for a slideshow portlet. I found a slideshow portlet very good, but the problem is it&#39;s a portlet of the Portal PEPO:<br /><a href='http://pepo.alterna.tv/web/PortletCentral_en.html' target='_blank'>http://pepo.alterna.tv/web/PortletCentral_en.html</a><br />

<br />
<br /><br /><br />That portlet is implemented in a class named Diaporamaportlet wich extends from PersonalPortlet wich extends from PageComponent, all of them are Pepo&#39;s own portlet &quot;philosophy&#39; implementation and has nothing to do with JSR-168 and because of that is not usable under Liferay unless you build a wrapper to fit pepo&#39;s structure under JSR-168 spec, wich will take you as much as the same time it will take to reimplement the funtionality in a jsr-168 portlet of your own.<br /><br />
rcrowe@ibcusa.com rcrowe@ibcusa.com, geändert vor 18 Jahren.

SLIDESHOW PORTLET

New Member Beiträge: 6 Beitrittsdatum: 02.12.04 Neueste Beiträge
The image gallery portlet has the slide show functionality. I used the code from it to develop an advertising portlet that scrolls the ad images as a slide show.
Andrew John Lovell, geändert vor 15 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 4 Beitrittsdatum: 03.10.08 Neueste Beiträge
Hi,

How did this work-out for you ... I am needing exactly the same. Any chance of sharing the code?

Cheers
thumbnail
Jonas Yuan, geändert vor 15 Jahren.

RE: SLIDESHOW PORTLET

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
Hi Andrew,

One more example of Slide-show is here, besides the slide-show in Image Gallery.

http://www.liferay.com/web/jonasxyuan/blog

You can play with it and enjoy ....

Thanks

Jonas Yuan
Liferay Book: Liferay Portal Enterprise Intranets
thumbnail
Carlos Thompson, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 15 Beitrittsdatum: 26.02.09 Neueste Beiträge
rcrowe@ibcusa.com rcrowe@ibcusa.com:
The image gallery portlet has the slide show functionality. I used the code from it to develop an advertising portlet that scrolls the ad images as a slide show.

I have seen some reference to the slideshow view of Liferay gallery portlet yet I cannot figure out how to implement that view.

I need that when opening a page, a non-registered user (or a user without editing priiledges) will see a defined slideshow.
thumbnail
Carlos Thompson, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 15 Beitrittsdatum: 26.02.09 Neueste Beiträge
Carlos Thompson:
rcrowe@ibcusa.com rcrowe@ibcusa.com:
The image gallery portlet has the slide show functionality. I used the code from it to develop an advertising portlet that scrolls the ad images as a slide show.

I have seen some reference to the slideshow view of Liferay gallery portlet yet I cannot figure out how to implement that view.

I need that when opening a page, a non-registered user (or a user without editing priiledges) will see a defined slideshow.

I cannot actually see much actual use for Liferay Image Gallery from an end-user point of view, and the slide show at it is far from what my customer expects.

I do like to use Image Gallery for uploading new pictures by a publishing user, for which IG seems to be fine enough, and then completely mask its behavior for an end user (i.e. normal unregistered browsing user from Internet).

Ideas?
thumbnail
Jack A. Rider, geändert vor 15 Jahren.

RE: SLIDESHOW PORTLET

Regular Member Beiträge: 139 Beitrittsdatum: 26.03.07 Neueste Beiträge
Hola there,


As you probably know liferay comes with , and makes use of, the jQuery javascript library, there (in www.jquery.com)
you have many plugins of animation, carrousels, slideshows, etc, etc. that are very easy to implement in a content portlet of liferay.

see http://plugins.jquery.com/taxonomy/term/433 for slideshow plugins.

I have used some of them, and with very little effort you get fantastic results.

Saludos, Jack.
thumbnail
Jonas Yuan, geändert vor 15 Jahren.

RE: SLIDESHOW PORTLET

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
Hi Jack,

Liferay portal comes with the jQuery JavaScript library .... Cool!

Thus we could customize Liferay out-of-box portlets and get fantastic UI smoothly.

I have tried some customization .... It is really very good ....

Thanks

Jonas Yuan
thumbnail
Carlos Thompson, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 15 Beitrittsdatum: 26.02.09 Neueste Beiträge
Jack A. Rider:
that are very easy to implement in a content portlet of liferay.

Next question: so now how can I insert a jquery plugin into a Liferay website project?

I do not have much experience with jquery or portlet development. Do I need to develop a portlet and insert jquery code in it? or I just open a journal/web content portlet and paste the jquery code into the HTML edit box?

If it requires portlet development, is it better to use the ANT Liferay SDK, Portal Pack, or Lomboz?
thumbnail
Carlos Thompson, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 15 Beitrittsdatum: 26.02.09 Neueste Beiträge
Carlos Thompson:
Jack A. Rider:
that are very easy to implement in a content portlet of liferay.

Next question: so now how can I insert a jquery plugin into a Liferay website project?


I have tested with a jQuery image gallery, just copying the demo, uploading the test images via Liferay Image Gallery, copying the html markup in a Web Content portlet (linking to the IG uploaded photos), and copyng all CSS and JS (except for jQuery itself) to the templates (.vm, .css, and .js files).

Yet it is not working. It seems that Javascript is not working as expected, i.e. Javascript transformations are not taking place.
thumbnail
Jonas Yuan, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
Hi Carlos,

There two options for slideshow.

1) use Image Gallery - JSP (Javascript)
check source code: view_slide_show.jsp

2) use flash player
sample source code in web content

<p><iframe width="420" height="410" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://liferay.cignex.com:8080/cms_services/jsp/slideshowPreview.jsp?&amp;uid=7"></iframe></p>
<p><img alt="" src="http://liferay.cignex.com:8080/cms_services/services?action=download&amp;uid=1be56a91-16e3-11dd-a1a2-3f408a4274b3&amp;t=109614154318858&amp;"></p>


You can see example:

http://liferay.cignex.com
login as "jonas/jonas"

Hope that it helps

Thanks

Jonas Yuan

-----------------
Liferay Books

Liferay Portal 5.2/5.3 Systems Development
Liferay Portal 4.4/5.0 Enterprise Intranets
Jason Barry, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

New Member Beitrag: 1 Beitrittsdatum: 07.08.09 Neueste Beiträge
Carlos Thompson:
Carlos Thompson:
Jack A. Rider:
that are very easy to implement in a content portlet of liferay.

Next question: so now how can I insert a jquery plugin into a Liferay website project?


I have tested with a jQuery image gallery, just copying the demo, uploading the test images via Liferay Image Gallery, copying the html markup in a Web Content portlet (linking to the IG uploaded photos), and copyng all CSS and JS (except for jQuery itself) to the templates (.vm, .css, and .js files).

Yet it is not working. It seems that Javascript is not working as expected, i.e. Javascript transformations are not taking place.


Make sure you aren't using the $ selector in your code. Liferay uses JQuery in compatibility mode and requires you to use the jQuery function in it's place.

So replace this:
$('selector goodness')

with this
jQuery('selector goodness')

in all of your javascript functions.

I've got a decent jquery slideshow working on a site that's a WIP. It's actually a web content template and structure that pulls images from the image gallery so the user can update the slideshow from within Liferay.

Let me know if anyone would like to take a look at the code.
Thanks.
thumbnail
Luis Mas, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

Regular Member Beiträge: 146 Beitrittsdatum: 18.05.09 Neueste Beiträge
Dear Jason,

We're trying to have a image gallery in our site, but we are having troubles with JQuery, could we look at your code?

Thanks in advance, Luis
Rodrigo Marquez, geändert vor 14 Jahren.

RE: SLIDESHOW PORTLET

Junior Member Beiträge: 46 Beitrittsdatum: 11.12.08 Neueste Beiträge
I'm intested in that solution. Please Jason, could you post that code here?


Thanx!
Bilal Zaheer, geändert vor 8 Jahren.

RE: SLIDESHOW PORTLET

New Member Beiträge: 12 Beitrittsdatum: 23.02.15 Neueste Beiträge
i want light box effect in my slideshow. can anyone help me in this regard....

thanks in advance
Bilal