Custom Field Template and Ordering
-
I’m having a problem with the custom field template. I have space in my template for four small thumbnailed screen shots. I use custom fields for this. My custom field options look like this:
[Screenshot] type = textarea rows = 3 cols=40 mediaButton = true label = Screenshots sort = desc [Screenshot] type = textarea rows = 3 cols=40 mediaButton = true hideKey = true sort = desc [Screenshot] type = textarea rows = 3 cols=40 mediaButton = true hideKey = true sort = desc [Screenshot] type = textarea rows = 3 cols=40 mediaButton = true hideKey = true sort = desc
The problem is the screenshots are not staying in order. Everytime the page is updated the values entered into these four fields are flipped. I’ve tried using sort = desc, sort = asc and sort = order but none of these seem to work. Can any point me to a way to keep these values in order?
I guess I could change it to [screenshot1] [screenshot2] etc. but I’d rather stick with a simple loop in my template to output them.
Thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Field Template and Ordering’ is closed to new replies.