ShowNext & Showif together
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24430
interpreted = N
texte = Hi there,I have a shownext context like this:[search group1field=Categoria+Subcategoria+Modelo+Marca+Nombre+DecripcionCorta+DescripcionLarga&db=mydatabase.db&wogroup1data=[busqueda]&Nombresort=1&Nombresdir=as&max=10&startat=[startat]][shownext position=begin&max=1&method=POST]
[start] - [end][/shownext]
[numFound] items found[shownext position=end&max=1&method=POST]
[start] - [end] [/shownext][founditems] [showif [SePublica]=T] Some Fields [/showif][/founditems] [/search] This count all the records found (2 for this example), inside the founditems I have a show if context to show the records if a flag is True, when I do a search it shows for example 2 items found but if one is flaged with False the results page shows one item but it shows 2 items found also.It is confused for the user to see one record but the page said 2 items found.How can I fix this?Any idea will be appreciated.Rodolfo de la Garza-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
Hi there,I have a shownext context like this:[search group1field=Categoria+Subcategoria+Modelo+Marca+Nombre+DecripcionCorta+DescripcionLarga&db=mydatabase.db&wogroup1data=[busqueda]&Nombresort=1&Nombresdir=as&max=10&startat=[startat]][shownext position=begin&max=1&method=POST] [start] - [end][/shownext] [numFound] items found[shownext position=end&max=1&method=POST] [start] - [end] [/shownext][founditems] [showif [SePublica]=T] Some Fields [/showif][/founditems] [/search] This count all the records found (2 for this example), inside the founditems I have a show if context to show the records if a flag is True, when I do a search it shows for example 2 items found but if one is flaged with False the results page shows one item but it shows 2 items found also.It is confused for the user to see one record but the page said 2 items found.How can I fix this?Any idea will be appreciated.Rodolfo de la Garza-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Rodolfo de la Garza
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:
[format 40s]text[/format] doesn't work (1997)
Cancel Subscription (1996)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Email Scavengers (2003)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
problem with NT beta (1997)
Pager notification of completed orders (1998)
WebCommerce: Folder organization ? (1997)
Running subtotal? (1998)
Date Formats (1997)
DON'T use old cart file! (1997)
creating a discount coupon for shopping cart (1999)
Security for malls with different webmasters (1998)
RE: [WebDNA] read database from other domain (2015)
syntax question, not in online refernce (1997)
Three new problems, maybe a fourth (1997)
Help name our technology! I found it (1997)
Server slowing down. (1997)
[taxrate] question (1997)
Can [writefile] files be served thru webcat? (2000)