Re: Non Standard Product Display Layout
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35674
interpreted = N
texte = note you can use as many [founditems] loops as you need within a [search]. You couldalso set text vars as you suggest.Yes there is an indexing var inside [founditems] (actually all the looping tags inwebcat have this that I remember)try [index]. You have the HTML docs handy? Here's the online version-http://betadoc.smithmicro.com/HTH-Johnjames wrote:> Hi all, I've been working with webCat this week (thanks to the help I> got here doing the install). I'm trying to build a template for> displaying products that doesn't look like a database table. In other> words I don't have all the info lined up in nice tables, that are so> easy to generate within a [founditems][/founditems] loop.> I'm displaying 4 items per page. I want the pictures to basically be> together, then the descriptions together at the bottom, the code> between the pictures is not repeating, so I can't build it directly> in a loop easily.> What would be the best way to handle this? I though about setting> some text variables (like picX, and DescriptionX and PriceX, where X> changes on each iteration through the loop) and running the loop at> the top of the page. Then I will have the info I need stored in> variables and I can put the stuff anywhere. My question though is> this, is there an index like variable that is generated within the> [founditems][/founditems] loop?>> Any help is greatly appreciated, you don't need to give me the code> (though if you feel like it I won't complain) just a conceptual> discussion is fine.> thanks again,> james@imnyc.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
note you can use as many [founditems] loops as you need within a [search]. You couldalso set text vars as you suggest.Yes there is an indexing var inside [founditems] (actually all the looping tags inwebcat have this that I remember)try [index]. You have the HTML docs handy? Here's the online version-http://betadoc.smithmicro.com/HTH-Johnjames wrote:> Hi all, I've been working with webCat this week (thanks to the help I> got here doing the install). I'm trying to build a template for> displaying products that doesn't look like a database table. In other> words I don't have all the info lined up in nice tables, that are so> easy to generate within a [founditems][/founditems] loop.> I'm displaying 4 items per page. I want the pictures to basically be> together, then the descriptions together at the bottom, the code> between the pictures is not repeating, so I can't build it directly> in a loop easily.> What would be the best way to handle this? I though about setting> some text variables (like picX, and DescriptionX and PriceX, where X> changes on each iteration through the loop) and running the loop at> the top of the page. Then I will have the info I need stored in> variables and I can put the stuff anywhere. My question though is> this, is there an index like variable that is generated within the> [founditems][/founditems] loop?>> Any help is greatly appreciated, you don't need to give me the code> (though if you feel like it I won't complain) just a conceptual> discussion is fine.> thanks again,> james@imnyc.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Butler
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Associative lookup style? + bit more (1997)
WebCatalog for guestbook ? (1997)
Deleting with contexts (2001)
WebCatalog does not have enough memory message... HELP (2001)
Date Formats (1997)
date (1998)
HUGE DATABASES (1998)
protect tag on NT IIS (1997)
Setting up shop (1997)
errormessages.db (1997)
Serving images from databases (1998)
Virtual Domains (1998)
2.0 Info (1997)
Pass a form (2003)
[WebDNA] Amazon EC2 (2009)
[WebDNA] Wish list (2010)
[WebDNA] New Mountain Lion OSX Server (2013)
no global [username] or [password] displayed ... (1997)
[WebDNA] ONLY the FIRST continuous run of numeric chars? (2008)
WebCat2 beta 11 - new prefs ... (1997)