Jump to content

custom image field in repeater - seems wrong, is it?


rsi
 Share

Recommended Posts

Hi forum!

I'm trying to build a kind of catalog for a customer.
it should be ~6 categories that each can have ~40 images with additional information attached to each image: title, size, price, information

so I was thinking:
1. create a custom field metaimage, that has fields for title, size, price and information
2. put that metaimage in a repeater and have my customer add as many as they want
WIN?

It feels very wrong somehow....
What is a better approach? I'm sure there are a lot ways to solve that...

Also, given that example: How do i access fields in custom fields that are inside repeaters for naming the repeater labels ?
I know there is dot syntax, but how about the first images title in my metaimage
custom field ?

Thank you for your input!!
rsi
 

Link to comment
Share on other sites

It's not that wrong but maybe not the best option in this case here.

I'd honestly go a totally different route and...

  • create a template catalog_image or something
  • create and add all necessary fields to that template
  • create another template catalog_category
  • create and add all necessary fields to that as well

From there I would create all category pages and add those images under each one/where necessary or wanted.

That way you can always move one image to another category, sort them way easier, disable, or clone one with ease.

Oh... and it's probably way easier to maintain.

  • Like 1
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...