Jump to content

Gallery in Repeaters


doolin
 Share

Recommended Posts

HI Guys

I need help. I try to convert a design-template in processwire.
What is the best way to achiev this layout.

It aa simple "directory" site that includes allways the same date per Item. 3 text field and a couple of images.

My first try was to solve this by using repeaters and accordeon. Every Item are a Tab. But i get errors because i try to use multiple galleries for the Images inside the Items -> galleria, ninja slider.

So i need a better solution. I do not need the Accorion.
Maybe Sites instead Repeaters? I wantet to use repeaters because i think the repeaters are very easy for the client, thats the most important!

pf.png

Link to comment
Share on other sites

Hi Doolin,

I'm not really sure if I understand you correctly. But normally I just use an 'image field' set to '0' (no limit) for image galleries. You can use e.g. the description of the image for working with captions inside the gallery.

With an foreach loop you can generate the markup that is needed for the image gallery.

 

Link to comment
Share on other sites

It should be fine to use repeaters for what you want to do.

9 hours ago, doolin said:

But i get errors because i try to use multiple galleries for the Images inside the Items -> galleria, ninja slider.

Do you mean Javascript errors or PHP errors? If it's a JS problem then have a look for documentation or examples for using multiple galleries with whatever gallery script you have chosen. For example: http://www.menucool.com/1075/Add-multiple-sliders-to-one-page

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...