Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1


Variables or for loop 7 months 2 weeks ago #6125

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Posts: 7
  • Thank you received: 0
Hi JDb,
I have an application where I have common database entries I'd like to group together. The number of common entries (number of rows) varies from one item to another.
One solution I thought of would be to use a "for loop" (or something like that), that could loop through those entries before moving onto the next group.
To do this I'd need to be able to create and increment a variable, such as i++. I tried embedding the code in a javascript block but the {joodb fieldname} entries cannot be read in them. I also looked at ifis{}, but I'd need to be able to increment the [value] field.

So, I expect this is a longshot, but might there be a way to create a "for loop" type structure inside the Catalog-Template view?

Thanks very much,

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest