×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: custom look for slideshow

custom look for slideshow 1 year 7 months ago #33560

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
Hi Daniel

I have seen that there were several displays possible for the image slideshow in the new hotspot component.
Could you tell me where to customize what in order to get for instance a white background ?
Thanks in advance
Jean

custom look for slideshow 1 year 7 months ago #33564

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
To follow up on this, I would like to use galleria themes such as folio (or minimi) in place of the standard theme used in hotspot view.
Can you tell me how to do it ?
And by the way is it possible to add also videos to view ?
Thanks

custom look for slideshow 1 year 7 months ago #33574

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Jean,
Look at the libraries\compojoom\layouts\galleria\galleria.php file - this is the layout that we use to render galleria.
In single view we do this:
$layout      = new CompojoomLayoutFile('galleria.galleria');
 

So, you would need to load the js and css of your theme there.

videos are complicated & they are not supported right now. The problem is that to serve video well you need to have it converted into several formats etc. and then you need a fast server to serve those videos. So, right now they are not supported & I'm not sure that I'll ever offer video upload in hotspots. I'm more thinking on ways to offer youtube support.

Regards,
Daniel

custom look for slideshow 1 year 7 months ago #33579

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
OK got it.
If I want to add option to galleria.run can I add the script in default template or should I tweak some other file ?
Options such as :
Galleria.run('.galleria', {
transition: 'fade',
imageCrop: true
});
Thanks
BTW we still have the thumbnails not appearing after moving version problem :-)

custom look for slideshow 1 year 7 months ago #33586

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
You can create a template override for this file ;)

custom look for slideshow 1 year 7 months ago #33709

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
you mean
my_template/libraries/compojoom/layouts/galleria/galleria.php
or my_template/html/libraries/compojoom/layouts/galleria/galleria.php??

Both do not seem to work
  • Page:
  • 1
Time to create page: 0.099 seconds